summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-02-22 23:01:14 -0800
committerMichael Ellerman <mpe@ellerman.id.au>2023-03-30 23:36:30 +1100
commit7b69600d4da0049244e9be2f5ef5a2f8e04fcd9a (patch)
treea209a930c130a1f2e2dfb1576c5fff5871924c9c /net/key
parent7538c97e2b80ff6b7a8ea2ecf16a04355461b439 (diff)
downloadlinux-stable-7b69600d4da0049244e9be2f5ef5a2f8e04fcd9a.tar.gz
linux-stable-7b69600d4da0049244e9be2f5ef5a2f8e04fcd9a.tar.bz2
linux-stable-7b69600d4da0049244e9be2f5ef5a2f8e04fcd9a.zip
powerpc/wii: fix resource printk format warnings
Use "%pa" format specifier for resource_size_t to avoid compiler printk format warnings. ../arch/powerpc/platforms/embedded6xx/flipper-pic.c: In function 'flipper_pic_init': ../include/linux/kern_levels.h:5:25: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t' {aka 'long long unsigned int'} [-Werror=format=] ../arch/powerpc/platforms/embedded6xx/flipper-pic.c:148:9: note: in expansion of macro 'pr_info' 148 | pr_info("controller at 0x%08x mapped to 0x%p\n", res.start, io_base); | ^~~~~~~ ../arch/powerpc/platforms/embedded6xx/hlwd-pic.c: In function 'hlwd_pic_init': ../include/linux/kern_levels.h:5:25: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t' {aka 'long long unsigned int'} [-Werror=format=] ../arch/powerpc/platforms/embedded6xx/hlwd-pic.c:174:9: note: in expansion of macro 'pr_info' 174 | pr_info("controller at 0x%08x mapped to 0x%p\n", res.start, io_base); | ^~~~~~~ ../arch/powerpc/platforms/embedded6xx/wii.c: In function 'wii_ioremap_hw_regs': ../include/linux/kern_levels.h:5:25: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t' {aka 'long long unsigned int'} [-Werror=format=] ../arch/powerpc/platforms/embedded6xx/wii.c:77:17: note: in expansion of macro 'pr_info' 77 | pr_info("%s at 0x%08x mapped to 0x%p\n", name, | ^~~~~~~ Fixes: 028ee972f032 ("powerpc: gamecube/wii: flipper interrupt controller support") Fixes: 9c21025c7845 ("powerpc: wii: hollywood interrupt controller support") Fixes: 5a7ee3198dfa ("powerpc: wii: platform support") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230223070116.660-3-rdunlap@infradead.org
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions