From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [tglx-devel:msi 20/90] drivers/pci/probe.c:2312:32: error: 'struct pci_dev' has no member named 'msi_lock'
Date: Tue, 7 Dec 2021 01:29:43 +0800 [thread overview]
Message-ID: <202112070134.V7oCHNbu-lkp@intel.com> (raw)
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: xtensa-randconfig-r033-20211206 (https://download.01.org/0day-ci/archive/20211207/202112070134.V7oCHNbu-lkp@intel.com/config)
compiler: xtensa-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://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=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash drivers/pci/
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 >>):
In file included from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/radix-tree.h:12,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/pci.h:35,
from drivers/pci/probe.c:9:
drivers/pci/probe.c: In function 'pci_alloc_dev':
>> drivers/pci/probe.c:2312:32: error: 'struct pci_dev' has no member named 'msi_lock'
2312 | raw_spin_lock_init(&dev->msi_lock);
| ^~
include/linux/spinlock.h:106:31: note: in definition of macro 'raw_spin_lock_init'
106 | __raw_spin_lock_init((lock), #lock, &__key, LD_WAIT_SPIN); \
| ^~~~
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
reply other threads:[~2021-12-06 17:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202112070134.V7oCHNbu-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®