Re: [RFC][PATCH] printk: Add %pb to print bitmaps
From: Ingo Molnar
Date: Wed May 09 2012 - 13:26:13 EST
* Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/