linux/drivers/mtd/spi-nor
Brian Norris a5c603a22b mtd: fsl-quadspi: fix printk() format warning for size_t
Seen when compile-testing on non-32-bit arch:

    CC      drivers/mtd/spi-nor/fsl-quadspi.o
  drivers/mtd/spi-nor/fsl-quadspi.c: In function 'fsl_qspi_read':
  drivers/mtd/spi-nor/fsl-quadspi.c:873:2: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' [-Wformat=]
    dev_dbg(q->dev, "cmd [%x],read from 0x%p, len:%d\n",
    ^

Also drop the '0x' prefixing to the '%p' formatter, since %p already
knows how to format pointers appropriately.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Han xu <han.xu@freescale.com>
2015-10-19 09:50:45 -07:00
..
Kconfig mtd: spi-nor: Improve Kconfig help text for SPI_FSL_QUADSPI 2015-08-14 11:22:56 -07:00
Makefile mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI) 2015-08-14 11:22:55 -07:00
fsl-quadspi.c mtd: fsl-quadspi: fix printk() format warning for size_t 2015-10-19 09:50:45 -07:00
nxp-spifi.c mtd: spi-nor: Zap unneeded write_enable from write_reg 2015-09-11 16:04:55 -07:00
spi-nor.c mtd: spi-nor: add DUAL_READ for w25q{32,64}dw 2015-10-19 09:50:44 -07:00