Skip to contentSkip to conversation

pci: Remove duplicate PCI_REGION_IO / "io" line

PATCH In review Pali Rohár 4 participants 4 messages Sep 15, 2022 – Sep 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: Remove duplicate PCI_REGION_IO / "io" line

---
 cmd/pci.c | 1 -
 1 file changed, 1 deletion(-)
cmd/pci.c +0 -1
index 6258699fec81..58a74755c8b2 100644
@@ -450,11 +450,10 @@ static const struct pci_flag_info {
 } pci_flag_info[] = {
 	{ PCI_REGION_IO, "io" },
 	{ PCI_REGION_PREFETCH, "prefetch" },
 	{ PCI_REGION_SYS_MEMORY, "sysmem" },
 	{ PCI_REGION_RO, "readonly" },
-	{ PCI_REGION_IO, "io" },
 };
 
 static void pci_show_regions(struct udevice *bus)
 {
 	struct pci_controller *hose = dev_get_uclass_priv(pci_get_controller(bus));
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Pali Rohár
Quoted 1 line · Pali Rohár

Thanks,
Stefan

Quoted 10 lines
---
  cmd/pci.c | 1 -
  1 file changed, 1 deletion(-)
cmd/pci.c +0 -0
index 6258699fec81..58a74755c8b2 100644
@@ -450,11 +450,10 @@ static const struct pci_flag_info {
  } pci_flag_info[] = {

cmd/pci.c static const struct pci_flag_info { · line 459

Quoted 10 lines
cmd/pci.c +0 -1
  	{ PCI_REGION_IO, "io" },
  	{ PCI_REGION_PREFETCH, "prefetch" },
  	{ PCI_REGION_SYS_MEMORY, "sysmem" },
  	{ PCI_REGION_RO, "readonly" },
-	{ PCI_REGION_IO, "io" },
  };
 
  static void pci_show_regions(struct udevice *bus)
  {
  	struct pci_controller *hose = dev_get_uclass_priv(pci_get_controller(bus));

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]