public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] PCI: Remove duplicated include in pci.c
@ 2023-10-18  1:05 Yang Li
  2023-10-18  1:42 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2023-10-18  1:05 UTC (permalink / raw)
  To: bhelgaas; +Cc: linux-pci, linux-kernel, Yang Li, Abaci Robot

./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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] PCI: Remove duplicated include in pci.c
  2023-10-18  1:05 [PATCH -next] PCI: Remove duplicated include in pci.c Yang Li
@ 2023-10-18  1:42 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2023-10-18  1:42 UTC (permalink / raw)
  To: Yang Li; +Cc: bhelgaas, linux-pci, linux-kernel, Abaci Robot,
	Ilpo Järvinen

[+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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-18  1:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18  1:05 [PATCH -next] PCI: Remove duplicated include in pci.c Yang Li
2023-10-18  1:42 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox