kernel_samsung_a53x/drivers/remoteproc
Arnaud Pouliquen 1b365b9edc remoteproc: stm32: Fix incorrect type in assignment for va
[ Upstream commit 32381bbccba4c21145c571701f8f7fb1d9b3a92e ]

The sparse tool complains about the attribute conversion between
a _iomem void * and a void *:

stm32_rproc.c:122:12: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *va @@     got void [noderef] __iomem * @@
stm32_rproc.c:122:12: sparse:     expected void *va
stm32_rproc.c:122:12: sparse:     got void [noderef] __iomem *

Add '__force' to explicitly specify that the cast is intentional.
This conversion is necessary to cast to virtual addresses pointer,used,
by the remoteproc core.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312150052.HCiNKlqB-lkp@intel.com/
Fixes: 13140de09cc2 ("remoteproc: stm32: add an ST stm32_rproc driver")
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20240117135312.3381936-2-arnaud.pouliquen@foss.st.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:58 +01:00
..
da8xx_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ingenic_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig remoteproc: stm32: use correct format strings on 64-bit 2024-11-19 08:44:58 +01:00
keystone_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_scp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_scp_ipi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_remoteproc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_pil_info.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_pil_info.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_adsp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_mss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_pas.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_wcss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_sysmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss_iris.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_cdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_core.c remoteproc: Add new get_loaded_rsc_table() to rproc_ops 2024-11-19 08:44:58 +01:00
remoteproc_coredump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_elf_helpers.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_elf_loader.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_internal.h remoteproc: Add new get_loaded_rsc_table() to rproc_ops 2024-11-19 08:44:58 +01:00
remoteproc_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_virtio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_slim_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stm32_rproc.c remoteproc: stm32: Fix incorrect type in assignment for va 2024-11-19 08:44:58 +01:00
ti_k3_dsp_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_k3_r5_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_sci_proc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wkup_m3_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00