Messages in this thread | | | Subject | Re: [PATCH v2 04/10] lib/vsprintf: add %*pE[achnops] format specifier | From | Joe Perches <> | Date | Tue, 08 Jul 2014 09:35:57 -0700 |
| |
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.
| |