diff options
author | Arnaud Pouliquen | 2024-01-17 14:53:11 +0100 |
---|---|---|
committer | Mathieu Poirier | 2024-01-23 11:46:18 -0700 |
commit | 32381bbccba4c21145c571701f8f7fb1d9b3a92e (patch) | |
tree | 1bc0a27184559109303ad50f134032f9bfdba854 /samples | |
parent | b327c72753d6a78de37aed6c35756f2ef62897ee (diff) |
remoteproc: stm32: Fix incorrect type in assignment for va
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions