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: <202112070219.xshR2G9z-lkp@intel.com>
Date:   Tue, 7 Dec 2021 02:41:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [tglx-devel:msi 20/90] drivers/pci/probe.c:2312:27: error: no member
 named 'msi_lock' in 'struct pci_dev'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git msi
head:   36b5ae08d9cb4a60d6ea0f7ff6a3415223dbb289
commit: 7ea486fb224a3869f662839f110b4c2f2be17fa3 [20/90] PCI/MSI: Move msi_lock to struct pci_dev
config: x86_64-buildonly-randconfig-r005-20211206 (https://download.01.org/0day-ci/archive/20211207/202112070219.xshR2G9z-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f50be8eb0a12a61d23db6cda452c693001d76898)
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://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=7ea486fb224a3869f662839f110b4c2f2be17fa3
        git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
        git fetch --no-tags tglx-devel msi
        git checkout 7ea486fb224a3869f662839f110b4c2f2be17fa3
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/pci/

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/pci/probe.c:2312:27: error: no member named 'msi_lock' in 'struct pci_dev'
           raw_spin_lock_init(&dev->msi_lock);
                               ~~~  ^
   include/linux/spinlock.h:106:24: note: expanded from macro 'raw_spin_lock_init'
           __raw_spin_lock_init((lock), #lock, &__key, LD_WAIT_SPIN);      \
                                 ^~~~
   1 error generated.


vim +2312 drivers/pci/probe.c

  2302	
  2303	struct pci_dev *pci_alloc_dev(struct pci_bus *bus)
  2304	{
  2305		struct pci_dev *dev;
  2306	
  2307		dev = kzalloc(sizeof(struct pci_dev), GFP_KERNEL);
  2308		if (!dev)
  2309			return NULL;
  2310	
  2311		INIT_LIST_HEAD(&dev->bus_list);
> 2312		raw_spin_lock_init(&dev->msi_lock);
  2313		dev->dev.type = &pci_dev_type;
  2314		dev->bus = pci_bus_get(bus);
  2315	
  2316		return dev;
  2317	}
  2318	EXPORT_SYMBOL(pci_alloc_dev);
  2319	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ