lkml.org 
[lkml]   [2012]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] irq_domain: fix formatting of chip data pointer in virq_debug_show()
Date
On Tue, 10 Apr 2012 17:27:08 -0600, Grant Likely <grant.likely@secretlab.ca> wrote:
> On Tue, 10 Apr 2012 15:25:43 +0300, Mika Westerberg <mika.westerberg@linux.intel.com> wrote:
> > On 32-bit machines reading the /sys/kernel/debug/irq_domain_mapping file
> > outputs following:
> >
> > virq hwirq chip name chip data domain name
> > 9 0x00000 IO-APIC 0x c175a0f8 none
> > 10 0x00000 IO-APIC 0x c175a108 none
> > 11 0x00000 IO-APIC 0x c175a118 none
> > ...
> >
> > which looks a bit funny. Fix that with filling the gap with zeroes instead
> > of spaces.
> >
> > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
>
> Applied, thanks.

I've dropped this one again. There is actually an easier way to
achieve the same result. By dropping the precision entirely from the
format string the output will always get 0 extended. I'll post an
alternate patch soon.

g.



\
 
 \ /
  Last update: 2012-04-11 07:49    [W:0.048 / U:13.492 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site