linux-next: build failure after merge of the ide tree

From: Stephen Rothwell
Date: Sat Apr 04 2020 - 21:23:12 EST


Hi all,

After merging the ide tree, yesterday's linux-next build (mips
bigsur_defconfig) failed like this:

drivers/ide/ide-scan-pci.c:104:13: error: incompatible type for argument 1 of âlist_delâ

Caused by commit

6a0033457f23 ("drivers/ide: convert to list_for_each_entry_safe()")

list_del() takes a "struct list_head *", struct pci_driver::node is a
"struct list_head" i.e. there is a missing '&'.

Reported by the kernelci.org bot.
--
Cheers,
Stephen Rothwell

Attachment: pgpsjQ2fftWaG.pgp
Description: OpenPGP digital signature