linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [avpatel:riscv_kvm_aia_v1 35/41] drivers/irqchip/irq-riscv-imsic.c:269:14: error: no member named 'base_ipi' in 'struct imsic_priv'
@ 2021-08-10 19:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-10 19:50 UTC (permalink / raw)
  To: Anup Patel; +Cc: clang-built-linux, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2705 bytes --]

tree:   https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head:   330ad93a7e17dcbb2341a9e679ff5fb65aa99611
commit: b6d8139e22dcf8bcfe9a4c89b1dde6c59591eab8 [35/41] irqchip: Add RISC-V incoming MSI controller driver
config: riscv-randconfig-r042-20210810 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 614c7d03877fd99c2de47429b15be3f00306a3bd)
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/b6d8139e22dcf8bcfe9a4c89b1dde6c59591eab8
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_kvm_aia_v1
        git checkout b6d8139e22dcf8bcfe9a4c89b1dde6c59591eab8
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpio/ drivers/irqchip/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/irqchip/irq-riscv-imsic.c:269:14: error: no member named 'base_ipi' in 'struct imsic_priv'
                   if ((priv->base_ipi <= i) &&
                        ~~~~  ^
   drivers/irqchip/irq-riscv-imsic.c:270:19: error: no member named 'base_ipi' in 'struct imsic_priv'
                       (i < (priv->base_ipi + priv->nr_ipis)))
                             ~~~~  ^
>> drivers/irqchip/irq-riscv-imsic.c:270:36: error: no member named 'nr_ipis' in 'struct imsic_priv'; did you mean 'nr_ids'?
                       (i < (priv->base_ipi + priv->nr_ipis)))
                                                    ^~~~~~~
                                                    nr_ids
   drivers/irqchip/irq-riscv-imsic.c:69:6: note: 'nr_ids' declared here
           u32 nr_ids;
               ^
   3 errors generated.


vim +269 drivers/irqchip/irq-riscv-imsic.c

   262	
   263	static void imsic_ids_local_sync(struct imsic_priv *priv)
   264	{
   265		int i;
   266	
   267		raw_spin_lock(&priv->ids_lock);
   268		for (i = 1; i <= priv->nr_ids; i++) {
 > 269			if ((priv->base_ipi <= i) &&
 > 270			    (i < (priv->base_ipi + priv->nr_ipis)))
   271				continue;
   272			if (test_bit(i, priv->ids_enabled_bimap))
   273				csr_write(CSR_SETEIENUM, i);
   274			else
   275				csr_write(CSR_CLREIENUM, i);
   276		}
   277		raw_spin_unlock(&priv->ids_lock);
   278	}
   279	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36052 bytes --]

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

only message in thread, other threads:[~2021-08-10 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 19:50 [avpatel:riscv_kvm_aia_v1 35/41] drivers/irqchip/irq-riscv-imsic.c:269:14: error: no member named 'base_ipi' in 'struct imsic_priv' 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;
as well as URLs for NNTP newsgroup(s).