mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 04:57:24 +07:00
1d25e3eeed
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> |
||
---|---|---|
.. | ||
amd76xrom.c | ||
cfi_flagadm.c | ||
ck804xrom.c | ||
dc21285.c | ||
esb2rom.c | ||
gpio-addr-flash.c | ||
ichxrom.c | ||
impa7.c | ||
intel_vr_nor.c | ||
ixp4xx.c | ||
Kconfig | ||
l440gx.c | ||
lantiq-flash.c | ||
latch-addr-flash.c | ||
Makefile | ||
map_funcs.c | ||
netsc520.c | ||
nettel.c | ||
pci.c | ||
pcmciamtd.c | ||
physmap_of_core.c | ||
physmap_of_gemini.c | ||
physmap_of_gemini.h | ||
physmap_of_versatile.c | ||
physmap_of_versatile.h | ||
physmap.c | ||
pismo.c | ||
plat-ram.c | ||
pmcmsp-flash.c | ||
pxa2xx-flash.c | ||
rbtx4939-flash.c | ||
sa1100-flash.c | ||
sbc_gxx.c | ||
sc520cdp.c | ||
scb2_flash.c | ||
scx200_docflash.c | ||
solutionengine.c | ||
sun_uflash.c | ||
ts5500_flash.c | ||
tsunami_flash.c | ||
uclinux.c | ||
vmu-flash.c |