linux/arch/openrisc/mm
Geert Uytterhoeven 031c7a8cd6 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 <lkp@intel.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stafford Horne <shorne@gmail.com>
2021-01-20 06:14:26 +09:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cache.c openrisc: Fix cache API compile issue when not inlining 2020-09-07 21:02:15 +09:00
fault.c mm/openrisc: use general page fault accounting 2020-08-12 10:58:03 -07:00
init.c highmem: Get rid of kmap_types.h 2020-11-06 23:14:58 +01:00
ioremap.c openrisc: io: Add missing __iomem annotation to iounmap() 2021-01-20 06:14:26 +09:00
tlb.c openrisc: Implement proper SMP tlb flushing 2020-08-04 10:59:45 +09:00