[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202407081158.9B8bXpH0-lkp@intel.com>
Date: Mon, 8 Jul 2024 11:59:26 +0800
From: kernel test robot <lkp@...el.com>
To: Cristian Marussi <cristian.marussi@....com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
arm-scmi@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, sudeep.holla@....com,
james.quinlan@...adcom.com, f.fainelli@...il.com,
vincent.guittot@...aro.org, etienne.carriere@...s.st.com,
peng.fan@....nxp.com, michal.simek@....com, quic_sibis@...cinc.com,
quic_nkela@...cinc.com, ptosi@...gle.com, dan.carpenter@...aro.org,
souvik.chakravarty@....com,
Cristian Marussi <cristian.marussi@....com>
Subject: Re: [PATCH 2/8] firmware: arm_scmi: Introduce packet handling helpers
Hi Cristian,
kernel test robot noticed the following build warnings:
[auto build test WARNING on soc/for-next]
[also build test WARNING on next-20240703]
[cannot apply to linus/master v6.10-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Cristian-Marussi/firmware-arm_scmi-Introduce-setup_shmem_iomap/20240707-082513
base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
patch link: https://lore.kernel.org/r/20240707002055.1835121-3-cristian.marussi%40arm.com
patch subject: [PATCH 2/8] firmware: arm_scmi: Introduce packet handling helpers
config: arm-randconfig-r111-20240708 (https://download.01.org/0day-ci/archive/20240708/202407081158.9B8bXpH0-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project a0c6b8aef853eedaa0980f07c0a502a5a8a9740e)
reproduce: (https://download.01.org/0day-ci/archive/20240708/202407081158.9B8bXpH0-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/202407081158.9B8bXpH0-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/firmware/arm_scmi/shmem.c:171:16: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] __iomem *[assigned] addr @@
drivers/firmware/arm_scmi/shmem.c:171:16: sparse: expected void *
drivers/firmware/arm_scmi/shmem.c:171:16: sparse: got void [noderef] __iomem *[assigned] addr
>> drivers/firmware/arm_scmi/shmem.c:183:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __iomem *( *setup_iomap )( ... ) @@ got void *( [noderef] __iomem * )( ... ) @@
drivers/firmware/arm_scmi/shmem.c:183:24: sparse: expected void [noderef] __iomem *( *setup_iomap )( ... )
drivers/firmware/arm_scmi/shmem.c:183:24: sparse: got void *( [noderef] __iomem * )( ... )
drivers/firmware/arm_scmi/shmem.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...):
include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false
include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false
vim +183 drivers/firmware/arm_scmi/shmem.c
173
174 const struct scmi_shared_mem_operations scmi_shmem_ops = {
175 .tx_prepare = shmem_tx_prepare,
176 .read_header = shmem_read_header,
177 .fetch_response = shmem_fetch_response,
178 .fetch_notification = shmem_fetch_notification,
179 .clear_channel = shmem_clear_channel,
180 .poll_done = shmem_poll_done,
181 .channel_free = shmem_channel_free,
182 .channel_intr_enabled = shmem_channel_intr_enabled,
> 183 .setup_iomap = shmem_setup_iomap,
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists