OSDN Git Service

mtd: rawnand: jz4740: Use the proper format specifier to print chipnr
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 19 Jul 2018 07:37:20 +0000 (09:37 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 Jul 2018 21:14:11 +0000 (23:14 +0200)
commit72b77bb018b3e913504fdb0a0612135e5391521e
tree6491c2d2a04e7e5edb6232d60df34e840411bd89
parentb8f0fadab208d87cab715b7599e0c15b4b2cc55f
mtd: rawnand: jz4740: Use the proper format specifier to print chipnr

In jz_nand_detect_bank(), chipnr is a size_t argument. Use %zu instead
of %i when printing it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/jz4740_nand.c