Skip to contentSkip to conversation

MIPS: dts: Boston: Fix dtc 'pci_device_reg' warning

PATCH Applied Genjian 3 participants 3 messages Feb 13, 2023 – Feb 17, 2023

Subsystems (3)
lore
Share & tools
lore

Genjian

author
#0 lore raw

PATCH 1/1 MIPS: dts: Boston: Fix dtc 'pci_device_reg' warning

From: Genjian Zhang <[email protected]>

dtbs_check currently complains that:
arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg):
/pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
The unit-address format should be '<device>,<function>'.
Fix the unit-address accordingly.

---
 arch/mips/boot/dts/img/boston.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/dts/img/boston.dts +1 -1
index 84328afa3a55..72f7605d2e31 100644
@@ -125,7 +125,7 @@ pci2_intc: interrupt-controller {
 			#interrupt-cells = <1>;
 		};
 
-		pci2_root@0,0,0 {
+		pci2_root@0,0 {
 			compatible = "pci10ee,7021";
 			reg = <0x00000000 0 0 0 0>;
 
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Genjian

From: Genjian Zhang <[email protected]>

dtbs_check currently complains that:
arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg):
/pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
The unit-address format should be '<device>,<function>'.
Fix the unit-address accordingly.

Quoted 5 lines
---
  arch/mips/boot/dts/img/boston.dts | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
maintainer Applied
#2 lore raw
In reply to Genjian
Quoted 30 lines · Genjian

From: Genjian Zhang <[email protected]>

dtbs_check currently complains that:
arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg):
/pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0"
The unit-address format should be '<device>,<function>'.
Fix the unit-address accordingly.

---
 arch/mips/boot/dts/img/boston.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/dts/img/boston.dts +1 -1
index 84328afa3a55..72f7605d2e31 100644
@@ -125,7 +125,7 @@ pci2_intc: interrupt-controller {
 			#interrupt-cells = <1>;
 		};
 
-		pci2_root@0,0,0 {
+		pci2_root@0,0 {
 			compatible = "pci10ee,7021";
 			reg = <0x00000000 0 0 0 0>;
 
Signature · 1 line
2.25.1

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]