linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] X86: PCI: ACPI: Remove initialization of static variables to false
@ 2021-12-03  8:07 Longji Guo
  2022-01-11 17:07 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Longji Guo @ 2021-12-03  8:07 UTC (permalink / raw)
  To: bhelgaas, tglx
  Cc: mingo, bp, dave.hansen, x86, hpa, linux-pci, linux-kernel, Longji Guo

Remove the initialization of pci_ignore_seg to false which is pointless.

Signed-off-by: Longji Guo <guolongji@uniontech.com>
---
 arch/x86/pci/acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index 948656069cdd..052f1d78a562 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -20,7 +20,7 @@ struct pci_root_info {
 };
 
 static bool pci_use_crs = true;
-static bool pci_ignore_seg = false;
+static bool pci_ignore_seg;
 
 static int __init set_use_crs(const struct dmi_system_id *id)
 {
-- 
2.20.1




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

* Re: [PATCH] X86: PCI: ACPI: Remove initialization of static variables to false
  2021-12-03  8:07 [PATCH] X86: PCI: ACPI: Remove initialization of static variables to false Longji Guo
@ 2022-01-11 17:07 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2022-01-11 17:07 UTC (permalink / raw)
  To: Longji Guo
  Cc: bhelgaas, tglx, mingo, bp, dave.hansen, x86, hpa, linux-pci,
	linux-kernel

On Fri, Dec 03, 2021 at 04:07:58PM +0800, Longji Guo wrote:
> Remove the initialization of pci_ignore_seg to false which is pointless.
> 
> Signed-off-by: Longji Guo <guolongji@uniontech.com>

Applied to pci/enumeration for v5.17, thanks!

> ---
>  arch/x86/pci/acpi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
> index 948656069cdd..052f1d78a562 100644
> --- a/arch/x86/pci/acpi.c
> +++ b/arch/x86/pci/acpi.c
> @@ -20,7 +20,7 @@ struct pci_root_info {
>  };
>  
>  static bool pci_use_crs = true;
> -static bool pci_ignore_seg = false;
> +static bool pci_ignore_seg;
>  
>  static int __init set_use_crs(const struct dmi_system_id *id)
>  {
> -- 
> 2.20.1
> 
> 
> 

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

end of thread, other threads:[~2022-01-11 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03  8:07 [PATCH] X86: PCI: ACPI: Remove initialization of static variables to false Longji Guo
2022-01-11 17:07 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).