Message ID | 20230213062451.1688755-1-zhanggenjian@kylinos.cn (mailing list archive) |
---|---|
State | Accepted |
Commit | 097fc054b0244ddc87c94097b490e534f6e4cbdd |
Headers | show |
Series | MIPS: dts: Boston: Fix dtc 'pci_device_reg' warning | expand |
On 13/2/23 07:24, Genjian wrote: > From: Genjian Zhang <zhanggenjian@kylinos.cn> > > 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. > > Reported-by: k2ci <kernel-bot@kylinos.cn> > Signed-off-by: Genjian Zhang <zhanggenjian@kylinos.cn> > --- > arch/mips/boot/dts/img/boston.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
On Mon, Feb 13, 2023 at 02:24:51PM +0800, Genjian wrote: > From: Genjian Zhang <zhanggenjian@kylinos.cn> > > 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. > > Reported-by: k2ci <kernel-bot@kylinos.cn> > Signed-off-by: Genjian Zhang <zhanggenjian@kylinos.cn> > --- > arch/mips/boot/dts/img/boston.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts > index 84328afa3a55..72f7605d2e31 100644 > --- a/arch/mips/boot/dts/img/boston.dts > +++ b/arch/mips/boot/dts/img/boston.dts > @@ -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>; > > -- > 2.25.1 applied to mips-next. Thomas.
diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index 84328afa3a55..72f7605d2e31 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -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>;