[lkml]   [2012]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH] printk: Add %pb to print bitmaps

* Peter Zijlstra <> wrote:

> On Wed, 2012-05-09 at 16:15 +0200, Ingo Molnar wrote:
> > > I guess I should use %.*pb and keep the field_width in case someone
> > > manages to actually make bitmap_scnlistprintf() conform to it. The
> > > precision is unused anyway.
> >
> > That's a cute trick, and it's intuitive as well.
> kernel/sched/core.c:5570:3: warning: precision used with ‘%p’ gnu_printf format [-Wformat]
> /me curses a bit.. anybody?

Yeah, that's a floating point precision thing (or for strings,
right-align) - could you use %30pb, etc?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-05-09 18:22    [W:0.117 / U:3.992 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site