From: 陈启武 <chenqiwu@xiaomi.com>
To: "davem@davemloft.net" <davem@davemloft.net>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: [ide:master 1/1] drivers/ide/ide-scan-pci.c:104:13: error: incompatible type for argument 1 of 'list_del'
Date: Sat, 4 Apr 2020 11:27:03 +0000 [thread overview]
Message-ID: <1585999579788.83525@xiaomi.com> (raw)
In-Reply-To: <202004041117.BRMQBZTk%lkp@intel.com>
Hi David,
I'm sorry for bringing this build failure issue. Please help apply the following change to commit https://git.kernel.org/pub/scm/linux/kernel/git/davem/ide.git/commit/?id=6a0033457f2380852a3a4138d4c79571a5b51be6
103 list_for_each_entry_safe(d, tmp, &ide_pci_drivers, node) {
> 104 list_del(&d->node);
Thanks!
________________________________________
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/ide.git master
head: 6a0033457f2380852a3a4138d4c79571a5b51be6
commit: 6a0033457f2380852a3a4138d4c79571a5b51be6 [1/1] drivers/ide: convert to list_for_each_entry_safe()
config: parisc-generic-64bit_defconfig (attached as .config)
compiler: hppa64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 6a0033457f2380852a3a4138d4c79571a5b51be6
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/ide/ide-scan-pci.c: In function 'ide_scan_pcibus':
>> drivers/ide/ide-scan-pci.c:104:13: error: incompatible type for argument 1 of 'list_del'
104 | list_del(d->node);
| ~^~~~~~
| |
| struct list_head
In file included from include/linux/module.h:12,
from drivers/ide/ide-scan-pci.c:12:
include/linux/list.h:144:47: note: expected 'struct list_head *' but argument is of type 'struct list_head'
144 | static inline void list_del(struct list_head *entry)
| ~~~~~~~~~~~~~~~~~~^~~~~
vim +/list_del +104 drivers/ide/ide-scan-pci.c
80
81 /**
82 * ide_scan_pcibus - perform the initial IDE driver scan
83 *
84 * Perform the initial bus rather than driver ordered scan of the
85 * PCI drivers. After this all IDE pci handling becomes standard
86 * module ordering not traditionally ordered.
87 */
88
89 static int __init ide_scan_pcibus(void)
90 {
91 struct pci_dev *dev = NULL;
92 struct pci_driver *d, *tmp;
93
94 pre_init = 0;
95 for_each_pci_dev(dev)
96 ide_scan_pcidev(dev);
97
98 /*
99 * Hand the drivers over to the PCI layer now we
100 * are post init.
101 */
102
103 list_for_each_entry_safe(d, tmp, &ide_pci_drivers, node) {
> 104 list_del(d->node);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!******/#
prev parent reply other threads:[~2020-04-05 2:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 3:14 [ide:master 1/1] drivers/ide/ide-scan-pci.c:104:13: error: incompatible type for argument 1 of 'list_del' kbuild test robot
2020-04-04 11:27 ` 陈启武 [this message]
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=1585999579788.83525@xiaomi.com \
--to=chenqiwu@xiaomi.com \
--cc=davem@davemloft.net \
--cc=linux-ide@vger.kernel.org \
/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