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. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel