Re: [PATCH v2 2/2] drivers: remoteproc: Add C906L controller for Sophgo CV1800B SoC

From: kernel test robot
Date: Tue Jul 29 2025 - 07:12:30 EST


Hi Junhui,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 038d61fd642278bab63ee8ef722c50d10ab01e8f]

url: https://github.com/intel-lab-lkp/linux/commits/Junhui-Liu/dt-bindings-remoteproc-Add-C906L-rproc-for-Sophgo-CV1800B-SoC/20250728-190847
base: 038d61fd642278bab63ee8ef722c50d10ab01e8f
patch link: https://lore.kernel.org/r/20250728-cv1800-rproc-v2-2-5bbee4abe9dc%40pigmoral.tech
patch subject: [PATCH v2 2/2] drivers: remoteproc: Add C906L controller for Sophgo CV1800B SoC
config: parisc-randconfig-r123-20250729 (https://download.01.org/0day-ci/archive/20250729/202507291829.aB1UgzrA-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 8.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250729/202507291829.aB1UgzrA-lkp@xxxxxxxxx/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
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507291829.aB1UgzrA-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/remoteproc/sophgo_cv1800b_c906l.c:47:20: sparse: sparse: cast removes address space '__iomem' of expression

vim +/__iomem +47 drivers/remoteproc/sophgo_cv1800b_c906l.c

36
37 static int cv1800b_c906l_mem_alloc(struct rproc *rproc,
38 struct rproc_mem_entry *mem)
39 {
40 void __iomem *va;
41
42 va = ioremap_wc(mem->dma, mem->len);
43 if (!va)
44 return -ENOMEM;
45
46 /* Update memory entry va */
> 47 mem->va = (void *)va;
48
49 return 0;
50 }
51

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