]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: k3-dsp: Force cast from iomem address space
authorAndrew Davis <afd@ti.com>
Mon, 21 Oct 2024 20:45:57 +0000 (15:45 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 29 Oct 2024 17:19:26 +0000 (11:19 -0600)
commit3a8c30e88cfb96d6f7aaa1626446147f7fe1aff3
tree0fab6d536a18044a1d49f6c3bff129357d08727f
parent760c69af2cc4c93aa6a58f50f637816657850099
remoteproc: k3-dsp: Force cast from iomem address space

These memory regions are mapped as Normal Non-Cached which on
does not have the normal IO address space limitations and so this
cast is safe. Add '__force' to explicitly specify that the cast is
intentional to remove a sparse check warning.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20241021204557.929823-3-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_dsp_remoteproc.c