diff options
| author | Geert Uytterhoeven <[email protected]> | 2020-12-28 08:33:28 +0000 |
|---|---|---|
| committer | Stafford Horne <[email protected]> | 2021-01-19 21:14:26 +0000 |
| commit | 031c7a8cd6fc565e90320bf08f22ee6e70f9d969 (patch) | |
| tree | 31fc66569ec875981573f9388cb8f2fd9af58800 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | soc: litex: Fix compile warning when device tree is not configured (diff) | |
| download | kernel-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
