aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2020-12-28 08:33:28 +0000
committerStafford Horne <[email protected]>2021-01-19 21:14:26 +0000
commit031c7a8cd6fc565e90320bf08f22ee6e70f9d969 (patch)
tree31fc66569ec875981573f9388cb8f2fd9af58800 /scripts/gcc-plugins/structleak_plugin.c
parentsoc: litex: Fix compile warning when device tree is not configured (diff)
downloadkernel-031c7a8cd6fc565e90320bf08f22ee6e70f9d969.tar.gz
kernel-031c7a8cd6fc565e90320bf08f22ee6e70f9d969.zip
openrisc: io: Add missing __iomem annotation to iounmap()
With C=1: drivers/soc/renesas/rmobile-sysc.c:330:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem *[assigned] base @@ drivers/soc/renesas/rmobile-sysc.c:330:33: sparse: expected void *addr drivers/soc/renesas/rmobile-sysc.c:330:33: sparse: got void [noderef] __iomem *[assigned] base Fix this by adding the missing __iomem annotation to iounmap(). Reported-by: kernel test robot <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions