alistair23-linux/drivers/mtd/maps
Randy Dunlap 1d25e3eeed mtd/maps: fix solutionengine.c printk format warnings
Fix 2 printk format warnings (this driver is currently only used by
arch/sh/) by using "%pap" instead of "%lx".

Fixes these build warnings:

../drivers/mtd/maps/solutionengine.c: In function 'init_soleng_maps':
../include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
../drivers/mtd/maps/solutionengine.c:62:54: note: format string is defined here
  printk(KERN_NOTICE "Solution Engine: Flash at 0x%08lx, EPROM at 0x%08lx\n",
                                                  ~~~~^
                                                  %08x
../include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
../drivers/mtd/maps/solutionengine.c:62:72: note: format string is defined here
  printk(KERN_NOTICE "Solution Engine: Flash at 0x%08lx, EPROM at 0x%08lx\n",
                                                                    ~~~~^
                                                                    %08x

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Boris Brezillon <boris.brezillon@bootlin.com>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: linux-mtd@lists.infradead.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-07-24 22:43:10 +02:00
..
amd76xrom.c
cfi_flagadm.c
ck804xrom.c
dc21285.c
esb2rom.c
gpio-addr-flash.c mtd: maps: gpio-addr-flash: add error handling for ioremap_nocache 2018-07-07 10:48:36 +02:00
ichxrom.c
impa7.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
intel_vr_nor.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
ixp4xx.c
Kconfig mtd: Make Kconfig formatting consistent 2018-07-19 23:12:06 +02:00
l440gx.c
lantiq-flash.c
latch-addr-flash.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
Makefile mtd: maps: remove bfin-async-flash driver 2018-03-21 09:50:57 +01:00
map_funcs.c
netsc520.c
nettel.c
pci.c
pcmciamtd.c
physmap.c
physmap_of_core.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
physmap_of_gemini.c
physmap_of_gemini.h
physmap_of_versatile.c
physmap_of_versatile.h
pismo.c mtd: maps: pismo: Remove owner assignment from i2c_driver 2018-05-03 11:42:31 +02:00
plat-ram.c
pmcmsp-flash.c
pxa2xx-flash.c
rbtx4939-flash.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
sa1100-flash.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
solutionengine.c mtd/maps: fix solutionengine.c printk format warnings 2018-07-24 22:43:10 +02:00
sun_uflash.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmu-flash.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00