public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/remoteproc/imx_dsp_rproc.c:653:12: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2026-04-10 11:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-10 11:02 UTC (permalink / raw)
  To: Daniel Baluta; +Cc: oe-kbuild-all, linux-kernel, Mathieu Poirier

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9a9c8ce300cd3859cc87b408ef552cd697cc2ab7
commit: a84a1e21c0678032f1185173f816cbb500a87877 remoteproc: imx_dsp_rproc: Fix multiple start/stop operations
date:   4 months ago
config: arm-randconfig-r132-20260410 (https://download.01.org/0day-ci/archive/20260410/202604101809.Gks0Zpaz-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260410/202604101809.Gks0Zpaz-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: a84a1e21c067 ("remoteproc: imx_dsp_rproc: Fix multiple start/stop operations")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604101809.Gks0Zpaz-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/remoteproc/imx_dsp_rproc.c:653:12: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *va @@     got void [noderef] __iomem * @@
   drivers/remoteproc/imx_dsp_rproc.c:653:12: sparse:     expected void *va
   drivers/remoteproc/imx_dsp_rproc.c:653:12: sparse:     got void [noderef] __iomem *
   drivers/remoteproc/imx_dsp_rproc.c:668:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *io_addr @@     got void *va @@
   drivers/remoteproc/imx_dsp_rproc.c:668:20: sparse:     expected void volatile [noderef] __iomem *io_addr
   drivers/remoteproc/imx_dsp_rproc.c:668:20: sparse:     got void *va

vim +653 drivers/remoteproc/imx_dsp_rproc.c

   646	
   647	static int imx_dsp_rproc_mem_alloc(struct rproc *rproc,
   648					   struct rproc_mem_entry *mem)
   649	{
   650		struct device *dev = rproc->dev.parent;
   651		void *va;
   652	
 > 653		va = ioremap_wc(mem->dma, mem->len);
   654		if (!va) {
   655			dev_err(dev, "Unable to map memory region: %pa+%zx\n",
   656				&mem->dma, mem->len);
   657			return -ENOMEM;
   658		}
   659	
   660		mem->va = va;
   661	
   662		return 0;
   663	}
   664	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-10 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 11:02 drivers/remoteproc/imx_dsp_rproc.c:653:12: sparse: sparse: incorrect type in assignment (different address spaces) kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox