lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108121459.Ty15GZ1p-lkp@intel.com>
Date:   Thu, 12 Aug 2021 14:33:01 +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_kvm_aia_v1 35/41]
 drivers/irqchip/irq-riscv-imsic.c:269:12: error: 'struct imsic_priv' has no
 member named 'base_ipi'

tree:   https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head:   3b8557c56e78d27255d6da1da59f40b35b8c4a31
commit: b6d8139e22dcf8bcfe9a4c89b1dde6c59591eab8 [35/41] irqchip: Add RISC-V incoming MSI controller driver
config: riscv-randconfig-p001-20210811 (attached as .config)
compiler: riscv32-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/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=gcc-10.3.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash drivers/

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:269:12: error: 'struct imsic_priv' has no member named 'base_ipi'
     269 |   if ((priv->base_ipi <= i) &&
         |            ^~
   drivers/irqchip/irq-riscv-imsic.c:270:17: error: 'struct imsic_priv' has no member named 'base_ipi'
     270 |       (i < (priv->base_ipi + priv->nr_ipis)))
         |                 ^~
>> drivers/irqchip/irq-riscv-imsic.c:270:36: error: 'struct imsic_priv' has no member named 'nr_ipis'; did you mean 'nr_ids'?
     270 |       (i < (priv->base_ipi + priv->nr_ipis)))
         |                                    ^~~~~~~
         |                                    nr_ids


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

Download attachment ".config.gz" of type "application/gzip" (30213 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ