mtd: nftl: use %*ph to print small buffer
authorAntonio Cardace <anto.cardace@gmail.com>
Tue, 13 Feb 2018 17:52:45 +0000 (17:52 +0000)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 21 Mar 2018 08:50:56 +0000 (09:50 +0100)
commitac9cd36c7a5dc79b3d10f0110bc096918109fdf8
tree1b1a2277850bc717d5f759e5eb7b577d15a4ebd0
parente7bfb3fdbde3bfeeeb64e2d73ac6babe59519c9e
mtd: nftl: 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/nftlmount.c