diff options
| author | Arnaud Pouliquen <[email protected]> | 2024-01-17 14:53:11 +0100 |
|---|---|---|
| committer | Mathieu Poirier <[email protected]> | 2024-01-23 11:46:18 -0700 |
| commit | 32381bbccba4c21145c571701f8f7fb1d9b3a92e (patch) | |
| tree | 1bc0a27184559109303ad50f134032f9bfdba854 /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| 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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 13140de09cc2 ("remoteproc: stm32: add an ST stm32_rproc driver")
Signed-off-by: Arnaud Pouliquen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions