summaryrefslogtreecommitdiff
path: root/net/qrtr
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-04-21 16:54:53 +0300
committerBorislav Petkov <bp@suse.de>2021-05-18 17:33:13 +0300
commit2e2f16d5cdb33e5f6fc53b7ad66c9f456d5f2950 (patch)
treeaed06ac1a929c9e9cb4fff3bdf842a3fe9639efc /net/qrtr
parent0a37f32ba5272b2d4ec8c8d0f6b212b81b578f7e (diff)
downloadlinux-2e2f16d5cdb33e5f6fc53b7ad66c9f456d5f2950.tar.xz
EDAC/aspeed: Use proper format string for printing resource
On ARMv7, resource_size_t can be 64-bit, which breaks printing it as %x: drivers/edac/aspeed_edac.c: In function 'init_csrows': drivers/edac/aspeed_edac.c:257:28: error: format '%x' expects argument of \ type 'unsigned int', but argument 4 has type 'resource_size_t' {aka 'long \ long unsigned int'} [-Werror=format=] 257 | dev_dbg(mci->pdev, "dt: /memory node resources: first page \ r.start=0x%x, resource_size=0x%x, PAGE_SHIFT macro=0x%x\n", Use the special %pR format string to pretty-print the entire resource instead. Fixes: edfc2d73ca45 ("EDAC/aspeed: Add support for AST2400 and AST2600") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Link: https://lkml.kernel.org/r/20210421135500.3518661-1-arnd@kernel.org
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions