[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:

> > A "%.*pb" is the only interface that can work for a "sized"
> > bitmap (with obviously fixed-length ones being possible with
> > a "%.32bp" like thing)
> Right, sadly that also generates a warning :/

Why not use what I suggested, %*pb? It also doubles as a width
field in essence, as bitmap output is fundamentally fixed width.



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