OSDN Git Service

mtd: st_spi_fsm: use %*ph to print small buffer
authorAntonio Cardace <anto.cardace@gmail.com>
Mon, 12 Feb 2018 18:41:30 +0000 (18:41 +0000)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 15 Mar 2018 16:20:37 +0000 (17:20 +0100)
commitf0a37a8db81ea9c7034e0fff4a430b221019fc50
treedfa21701b773afd4b2d18ec07b17dd5ad74ed6c4
parentd40a18fec04ae6dc6f6760923aa5f487d1af2444
mtd: st_spi_fsm: use %*ph to print small buffer

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

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Antonio Cardace <anto.cardace@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/devices/st_spi_fsm.c