Re: [PATCH -next] PCI: Remove duplicated include in pci.c

From: Bjorn Helgaas
Date: Tue Oct 17 2023 - 21:42:10 EST


[+cc Ilpo]

On Wed, Oct 18, 2023 at 09:05:51AM +0800, Yang Li wrote:
> ./drivers/pci/pci.c: linux/bitfield.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6898
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>

I folded this into the commit that added the duplicate, thanks!

https://lore.kernel.org/r/20230919125648.1920-7-ilpo.jarvinen@xxxxxxxxxxxxxxx

> ---
> drivers/pci/pci.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
> index 5b70eefc38fc..92b8dafec0d9 100644
> --- a/drivers/pci/pci.c
> +++ b/drivers/pci/pci.c
> @@ -32,7 +32,6 @@
> #include <linux/vmalloc.h>
> #include <asm/dma.h>
> #include <linux/aer.h>
> -#include <linux/bitfield.h>
> #include "pci.h"
>
> DEFINE_MUTEX(pci_slot_mutex);
> --
> 2.20.1.7.g153144c
>