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

From: David Miller
Date: Sat Apr 04 2020 - 23:07:33 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Sun, 5 Apr 2020 11:13:07 +1000

> 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 '&'.

Thanks Stephen, the kbuild bot caught this too and it's not fixed in the
ide GIT tree.