All of lore.kernel.org
 help / color / mirror / Atom feed
* [avpatel:riscv_kvm_aia_v1 35/44] drivers/irqchip/irq-riscv-imsic.c:268:26: error: 'struct imsic_priv' has no member named 'base_ipi'
@ 2021-08-20 11:26 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-20 11:26 UTC (permalink / raw)
  To: Anup Patel; +Cc: kbuild-all, linux-kernel

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

tree:   https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head:   4da0ebf34286097da9de71c57fea2f09ec479877
commit: d0363c5e3512c058637a3c4b062f7a06c2498076 [35/44] irqchip: Add RISC-V incoming MSI controller driver
config: riscv-randconfig-r042-20210819 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 11.2.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/d0363c5e3512c058637a3c4b062f7a06c2498076
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_kvm_aia_v1
        git checkout d0363c5e3512c058637a3c4b062f7a06c2498076
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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@intel.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:26: error: 'struct imsic_priv' has no member named 'base_ipi'
     268 |                 if ((priv->base_ipi <= i) &&
         |                          ^~
   drivers/irqchip/irq-riscv-imsic.c:269:31: 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:50: 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
   drivers/irqchip/irq-riscv-imsic.c: In function 'imsic_init':
   drivers/irqchip/irq-riscv-imsic.c:906:45: error: 'struct imsic_priv' has no member named 'base_ipi'
     906 |                                        &priv->base_ipi))
         |                                             ^~
   drivers/irqchip/irq-riscv-imsic.c:907:21: error: 'struct imsic_priv' has no member named 'base_ipi'
     907 |                 priv->base_ipi = 0;
         |                     ^~
   drivers/irqchip/irq-riscv-imsic.c:909:47: error: 'struct imsic_priv' has no member named 'nr_ipis'; did you mean 'nr_ids'?
     909 |                                        &priv->nr_ipis))
         |                                               ^~~~~~~
         |                                               nr_ids
   drivers/irqchip/irq-riscv-imsic.c:910:23: error: 'struct imsic_priv' has no member named 'nr_ipis'; did you mean 'nr_ids'?
     910 |                 priv->nr_ipis = 0;
         |                       ^~~~~~~
         |                       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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [avpatel:riscv_kvm_aia_v1 35/44] drivers/irqchip/irq-riscv-imsic.c:268:26: error: 'struct imsic_priv' has no member named 'base_ipi'
@ 2021-08-20 11:26 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-20 11:26 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head:   4da0ebf34286097da9de71c57fea2f09ec479877
commit: d0363c5e3512c058637a3c4b062f7a06c2498076 [35/44] irqchip: Add RISC-V incoming MSI controller driver
config: riscv-randconfig-r042-20210819 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 11.2.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/d0363c5e3512c058637a3c4b062f7a06c2498076
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_kvm_aia_v1
        git checkout d0363c5e3512c058637a3c4b062f7a06c2498076
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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@intel.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:26: error: 'struct imsic_priv' has no member named 'base_ipi'
     268 |                 if ((priv->base_ipi <= i) &&
         |                          ^~
   drivers/irqchip/irq-riscv-imsic.c:269:31: 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:50: 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
   drivers/irqchip/irq-riscv-imsic.c: In function 'imsic_init':
   drivers/irqchip/irq-riscv-imsic.c:906:45: error: 'struct imsic_priv' has no member named 'base_ipi'
     906 |                                        &priv->base_ipi))
         |                                             ^~
   drivers/irqchip/irq-riscv-imsic.c:907:21: error: 'struct imsic_priv' has no member named 'base_ipi'
     907 |                 priv->base_ipi = 0;
         |                     ^~
   drivers/irqchip/irq-riscv-imsic.c:909:47: error: 'struct imsic_priv' has no member named 'nr_ipis'; did you mean 'nr_ids'?
     909 |                                        &priv->nr_ipis))
         |                                               ^~~~~~~
         |                                               nr_ids
   drivers/irqchip/irq-riscv-imsic.c:910:23: error: 'struct imsic_priv' has no member named 'nr_ipis'; did you mean 'nr_ids'?
     910 |                 priv->nr_ipis = 0;
         |                       ^~~~~~~
         |                       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(a)lists.01.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-20 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 11:26 [avpatel:riscv_kvm_aia_v1 35/44] drivers/irqchip/irq-riscv-imsic.c:268:26: error: 'struct imsic_priv' has no member named 'base_ipi' kernel test robot
2021-08-20 11:26 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.