[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202506101252.4HRoLbL7-lkp@intel.com>
Date: Tue, 10 Jun 2025 13:15:10 +0800
From: kernel test robot <lkp@...el.com>
To: Junhui Liu <junhui.liu@...moral.tech>,
Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Chen Wang <unicorn_wang@...look.com>,
Inochi Amaoto <inochiama@...il.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>
Cc: oe-kbuild-all@...ts.linux.dev, linux-remoteproc@...r.kernel.org,
devicetree@...r.kernel.org, sophgo@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Subject: Re: [PATCH 2/2] drivers: remoteproc: Add C906L controller for Sophgo
CV1800B SoC
Hi Junhui,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8630c59e99363c4b655788fd01134aef9bcd9264]
url: https://github.com/intel-lab-lkp/linux/commits/Junhui-Liu/dt-bindings-remoteproc-Add-C906L-rproc-for-Sophgo-CV1800B-SoC/20250608-104249
base: 8630c59e99363c4b655788fd01134aef9bcd9264
patch link: https://lore.kernel.org/r/20250608-cv1800-rproc-v1-2-57cf66cdf6a3%40pigmoral.tech
patch subject: [PATCH 2/2] drivers: remoteproc: Add C906L controller for Sophgo CV1800B SoC
config: nios2-randconfig-r132-20250610 (https://download.01.org/0day-ci/archive/20250610/202506101252.4HRoLbL7-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 8.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250610/202506101252.4HRoLbL7-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
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506101252.4HRoLbL7-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/remoteproc/sophgo_cv1800b_c906l.c:41:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *va @@ got void [noderef] __iomem * @@
drivers/remoteproc/sophgo_cv1800b_c906l.c:41:12: sparse: expected void *va
drivers/remoteproc/sophgo_cv1800b_c906l.c:41:12: sparse: got void [noderef] __iomem *
>> drivers/remoteproc/sophgo_cv1800b_c906l.c:54:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *va @@
drivers/remoteproc/sophgo_cv1800b_c906l.c:54:20: sparse: expected void [noderef] __iomem *addr
drivers/remoteproc/sophgo_cv1800b_c906l.c:54:20: sparse: got void *va
vim +41 drivers/remoteproc/sophgo_cv1800b_c906l.c
35
36 static int cv1800b_c906l_mem_alloc(struct rproc *rproc,
37 struct rproc_mem_entry *mem)
38 {
39 void *va;
40
> 41 va = ioremap_wc(mem->dma, mem->len);
42 if (IS_ERR_OR_NULL(va))
43 return -ENOMEM;
44
45 /* Update memory entry va */
46 mem->va = va;
47
48 return 0;
49 }
50
51 static int cv1800b_c906l_mem_release(struct rproc *rproc,
52 struct rproc_mem_entry *mem)
53 {
> 54 iounmap(mem->va);
55
56 return 0;
57 }
58
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists