linux-stable/arch/arm/mach-omap1
Arnd Bergmann deb4471167 ARM: omap: fix address space warnings from sparse
Moving sram code from plat-omap got the attention of the kernel test robot.

I found a few more places with related warnings because the sram
references are a mix of kernel pointers and __iomem pointers:

mach-omap1/sram-init.c:56:17: warning: cast removes address space '__iomem' of expression
mach-omap1/board-ams-delta.c:667:9: warning: incorrect type in argument 1 (different base types)
mach-omap2/sram.c:78:17: warning: cast removes address space '__iomem' of expression
mach-omap2/omap4-common.c:142:27: warning: incorrect type in assignment (different address spaces)
mach-omap2/omap4-common.c:142:27:    expected void [noderef] __iomem *static [toplevel] sram_sync
mach-omap2/omap4-common.c:142:27:    got void *
mach-omap2/pm34xx.c:113:45: warning: incorrect type in argument 1 (different address spaces)
mach-omap2/pm34xx.c:113:45:    expected void [noderef] __iomem *save_regs
mach-omap2/pm34xx.c:113:45:    got void *extern [addressable] [toplevel] omap3_secure_ram_storage

There is no good solution here, as sram is a bit special in this
regard. Change the annotations to at least shut up the warnings.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-29 09:53:28 +02:00
..
include/mach ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
ams-delta-fiq-handler.S ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
ams-delta-fiq.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
ams-delta-fiq.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-ams-delta.c ARM: omap: fix address space warnings from sparse 2022-04-29 09:53:28 +02:00
board-ams-delta.h ARM: OMAP1: ams-delta: Move AMS_DELTA_LATCH2_NGPIO to the board file 2018-11-29 12:05:34 -08:00
board-fsample.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-generic.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-h2-mmc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
board-h2.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-h2.h
board-h3-mmc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
board-h3.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-h3.h
board-htcherald.c ARM: omap1: htc_herald: fix typos in comments 2022-04-22 11:08:56 +02:00
board-innovator.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-nand.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
board-nokia770.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-osk.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-palmte.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-palmtt.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-palmz71.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-perseus2.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-sx1-mmc.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-sx1.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-sx1.h
clock.c ARM: OMAP1: clock: Remove noop code 2022-04-22 11:08:56 +02:00
clock.h ARM: OMAP1: clock: Remove noop code 2022-04-22 11:08:56 +02:00
clock_data.c ARM: OMAP1: fix typos in comments 2022-04-22 11:08:56 +02:00
common.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
devices.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
dma.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
fb.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
flash.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
flash.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fpga.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
fpga.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
gpio7xx.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
gpio15xx.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
gpio16xx.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
hardware.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
i2c.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
i2c.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
id.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
io.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
iomap.h
irq.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
irqs.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
Kconfig ARM: omap1: fix build with no SoC selected 2022-04-22 11:08:55 +02:00
Makefile ARM: omap1: fix build with no SoC selected 2022-04-22 11:08:55 +02:00
Makefile.boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mcbsp.c ARM: OMAP1: Prepare for conversion of OMAP1 clocks to CCF 2022-04-22 11:08:55 +02:00
mmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtd-xip.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
mux.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
mux.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
ocpi.c ARM: OMAP1: Prepare for conversion of OMAP1 clocks to CCF 2022-04-22 11:08:55 +02:00
omap-dma.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
omap7xx.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
omap16xx.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
omap1510.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
opp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
opp_data.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pm.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
pm.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
pm_bus.c
reset.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
serial.c ARM: OMAP1: Prepare for conversion of OMAP1 clocks to CCF 2022-04-22 11:08:55 +02:00
sleep.S ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
soc.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
sram-init.c ARM: omap: fix address space warnings from sparse 2022-04-29 09:53:28 +02:00
sram.h ARM: omap: un-merge plat/sram.c 2022-04-22 11:08:55 +02:00
sram.S ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
tc.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
time.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
timer.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
timer32k.c ARM: OMAP1: Prepare for conversion of OMAP1 clocks to CCF 2022-04-22 11:08:55 +02:00
usb.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
usb.h ARM: omap1: move mach/usb.h to include/linux/soc 2022-04-21 15:00:59 +02:00