remoteproc: imx_dsp_rproc: fix argument 2 of rproc_mem_entry_init
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 15 Aug 2022 12:43:18 +0000 (20:43 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 23 Aug 2022 20:05:06 +0000 (14:05 -0600)
commit729c16326b7f3f4e83e4195f620a6ca0b7dfa25a
treebfc6cfc76b80dbc390518e856ffd0c85b8c72579
parenta1c3611dcfb08e62e165ab5c00122dd13f210166
remoteproc: imx_dsp_rproc: fix argument 2 of rproc_mem_entry_init

There are sparse warning:
drivers/remoteproc/imx_dsp_rproc.c:602:49: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void *va @@     got void [noderef] __iomem *[assigned] cpu_addr @@
drivers/remoteproc/imx_dsp_rproc.c:602:49: sparse:     expected void *va
drivers/remoteproc/imx_dsp_rproc.c:602:49: sparse:     got void [noderef] __iomem *[assigned] cpu_addr
drivers/remoteproc/imx_dsp_rproc.c:638:49: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void *va @@     got void [noderef] __iomem *[assigned] cpu_addr @@
drivers/remoteproc/imx_dsp_rproc.c:638:49: sparse:     expected void *va
drivers/remoteproc/imx_dsp_rproc.c:638:49: sparse:     got void [noderef] __iomem *[assigned] cpu_addr

Fixes: ec0e5549f358 ("remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1660567398-24495-1-git-send-email-shengjiu.wang@nxp.com
Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c