summaryrefslogtreecommitdiffstats
path: root/scripts/xen-hypercalls.sh
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-07-24 11:29:01 -0700
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-07-24 22:43:10 +0200
commit1d25e3eeed1d987404e2d2e451eebac8c15cecc1 (patch)
tree2e67033a16c3bfdee2d2906cd2a06ebc630f39c0 /scripts/xen-hypercalls.sh
parent8c15e21c3508f48c291591fefa9beee0a08a3447 (diff)
downloadlinux-stable-1d25e3eeed1d987404e2d2e451eebac8c15cecc1.tar.gz
linux-stable-1d25e3eeed1d987404e2d2e451eebac8c15cecc1.tar.bz2
linux-stable-1d25e3eeed1d987404e2d2e451eebac8c15cecc1.zip
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>
Diffstat (limited to 'scripts/xen-hypercalls.sh')
0 files changed, 0 insertions, 0 deletions