Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0a37a8d authored by Antonio Cardace's avatar Antonio Cardace Committed by Boris Brezillon
Browse files

mtd: st_spi_fsm: use %*ph to print small buffer



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

Suggested-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarAntonio Cardace <anto.cardace@gmail.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
parent d40a18fe
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1868,8 +1868,7 @@ static struct flash_info *stfsm_jedec_probe(struct stfsm *fsm)
	 */
	ext_jedec = id[3] << 8  | id[4];

	dev_dbg(fsm->dev, "JEDEC =  0x%08x [%02x %02x %02x %02x %02x]\n",
		jedec, id[0], id[1], id[2], id[3], id[4]);
	dev_dbg(fsm->dev, "JEDEC =  0x%08x [%5ph]\n", jedec, id);

	for (info = flash_types; info->name; info++) {
		if (info->jedec_id == jedec) {