Re: [PATCH v2 04/10] lib/vsprintf: add %*pE[achnops] format specifier
From: Joe Perches
Date: Tue Jul 08 2014 - 12:36:10 EST
On Tue, 2014-07-08 at 11:24 +0300, Andy Shevchenko wrote:
> On Mon, 2014-07-07 at 09:50 -0700, Joe Perches wrote:
> > Perhaps better if -1 was accepted by string_escape_mem
> > as a strlen request or just ignored as a 0 length is
> > above.
> Would it be any benefit here?
Dunno, it was just a thought for you.
> > fyi: hex_string emits nothing on printk("%ph", buf);
> Works just fine. How did you check it?
By not reading the code correctly.
So what you have is fine.
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/