[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107310126.R9VPnXrF-lkp@intel.com>
Date: Sat, 31 Jul 2021 01:08:29 +0800
From: kernel test robot <lkp@...el.com>
To: Anup Patel <anup.patel@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [avpatel:riscv_aia_v1 34/36]
drivers/irqchip/irq-riscv-imsic.c:268:12: error: 'struct imsic_priv' has no
member named 'base_ipi'
tree: https://github.com/avpatel/linux.git riscv_aia_v1
head: 6cebd5318c9efac0d49be0435509dfbb0ff7ced8
commit: 3779287f1e59ae5f1747108903c49a3ec32e6cd0 [34/36] irqchip: Add RISC-V incoming MSI controller driver
config: riscv-randconfig-r022-20210730 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/avpatel/linux/commit/3779287f1e59ae5f1747108903c49a3ec32e6cd0
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_aia_v1
git checkout 3779287f1e59ae5f1747108903c49a3ec32e6cd0
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/irqchip/irq-riscv-imsic.c: In function 'imsic_ids_local_sync':
>> drivers/irqchip/irq-riscv-imsic.c:268:12: error: 'struct imsic_priv' has no member named 'base_ipi'
268 | if ((priv->base_ipi <= i) &&
| ^~
drivers/irqchip/irq-riscv-imsic.c:269:17: error: 'struct imsic_priv' has no member named 'base_ipi'
269 | (i < (priv->base_ipi + priv->nr_ipis)))
| ^~
>> drivers/irqchip/irq-riscv-imsic.c:269:36: error: 'struct imsic_priv' has no member named 'nr_ipis'; did you mean 'nr_ids'?
269 | (i < (priv->base_ipi + priv->nr_ipis)))
| ^~~~~~~
| nr_ids
vim +268 drivers/irqchip/irq-riscv-imsic.c
261
262 static void imsic_ids_local_sync(struct imsic_priv *priv)
263 {
264 int i;
265
266 raw_spin_lock(&priv->ids_lock);
267 for (i = 1; i <= priv->nr_ids; i++) {
> 268 if ((priv->base_ipi <= i) &&
> 269 (i < (priv->base_ipi + priv->nr_ipis)))
270 continue;
271 if (test_bit(i, priv->ids_enabled_bimap))
272 csr_write(CSR_SETEIENUM, i);
273 else
274 csr_write(CSR_CLREIENUM, i);
275 }
276 raw_spin_unlock(&priv->ids_lock);
277 }
278
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (35021 bytes)
Powered by blists - more mailing lists