drivers/pci/pci.c | 1 - 1 file changed, 1 deletion(-)
./drivers/pci/pci.c: linux/bitfield.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6898
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
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
[+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@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6898 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> I folded this into the commit that added the duplicate, thanks! https://lore.kernel.org/r/20230919125648.1920-7-ilpo.jarvinen@linux.intel.com > --- > 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 >
© 2016 - 2026 Red Hat, Inc.