On Mon, Jan 12, 2015 at 08:55:21AM -0500, Tejun Heo wrote:
> On Mon, Jan 12, 2015 at 02:50:34PM +0100, Peter Zijlstra wrote:
> > See this thread:
> >   https://lkml.org/lkml/2012/5/9/416
> >   https://lkml.org/lkml/2012/5/9/353
> > 
> > At the time I couldn't make it work :/
> 
> Dang, I was worrying about the same thing, so the compiler does
> complain about using precision with a pointer. :(

Hmmm... I think I'd just go with "%*pb" and use the width as meaning
the bitwidth.  It isn't perfect but should be a good enough compromise
especially given that fancy dynamic padding isn't something we do
often in the kernel and there's a recourse for that - printing to
string buffer and print that with %*s - which is what we need to do
right now anyway.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to