usb: gadget: u_serial: use %*ph to print small buffer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 28 Dec 2020 20:02:03 +0000 (22:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Jan 2021 15:39:11 +0000 (16:39 +0100)
commit9b3bd898421bd9fca5c88a3c3291d9f60df3bb69
treecfc89205f035f1ae95b07675b685a526402d2991
parent43da4f92a611d0cccbe577384d1de9d7a70fd5b9
usb: gadget: u_serial: use %*ph to print small buffer

Use %*ph format to print small buffer as hex string.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20201228200203.58525-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_serial.c