Message ID | 1477280428-30558-1-git-send-email-wangkefeng.wang@huawei.com |
---|---|
State | Accepted |
Commit | 06b29676555d9c0ccc26a1fa45f9b4ca0bdc4a37 |
Headers | show |
Hi Kefeng, On 2016/10/24 4:40, Kefeng Wang wrote: > Warning (unit_address_vs_reg): Node /soc/ethernet@4 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /soc/ethernet@5 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /soc/ethernet@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /soc/ethernet@1 has a unit name, but no reg property > > Fix warning when build with W=1. > > Cc: Kejian Yan <yankejian@huawei.com> > Cc: Yisen Zhuang <yisen.zhuang@huawei.com> > Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> > --- Applied to the hisilicon soc tree. Thanks! Best Regards, Wei > arch/arm64/boot/dts/hisilicon/hip06.dtsi | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi > index b548763..f66c51b 100644 > --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi > @@ -508,7 +508,7 @@ > }; > }; > > - eth0: ethernet@4{ > + eth0: ethernet-4{ > compatible = "hisilicon,hns-nic-v2"; > ae-handle = <&dsaf0>; > port-idx-in-ae = <4>; > @@ -517,7 +517,7 @@ > dma-coherent; > }; > > - eth1: ethernet@5{ > + eth1: ethernet-5{ > compatible = "hisilicon,hns-nic-v2"; > ae-handle = <&dsaf0>; > port-idx-in-ae = <5>; > @@ -526,7 +526,7 @@ > dma-coherent; > }; > > - eth2: ethernet@0{ > + eth2: ethernet-0{ > compatible = "hisilicon,hns-nic-v2"; > ae-handle = <&dsaf0>; > port-idx-in-ae = <0>; > @@ -535,7 +535,7 @@ > dma-coherent; > }; > > - eth3: ethernet@1{ > + eth3: ethernet-1{ > compatible = "hisilicon,hns-nic-v2"; > ae-handle = <&dsaf0>; > port-idx-in-ae = <1>; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi index b548763..f66c51b 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi @@ -508,7 +508,7 @@ }; }; - eth0: ethernet@4{ + eth0: ethernet-4{ compatible = "hisilicon,hns-nic-v2"; ae-handle = <&dsaf0>; port-idx-in-ae = <4>; @@ -517,7 +517,7 @@ dma-coherent; }; - eth1: ethernet@5{ + eth1: ethernet-5{ compatible = "hisilicon,hns-nic-v2"; ae-handle = <&dsaf0>; port-idx-in-ae = <5>; @@ -526,7 +526,7 @@ dma-coherent; }; - eth2: ethernet@0{ + eth2: ethernet-0{ compatible = "hisilicon,hns-nic-v2"; ae-handle = <&dsaf0>; port-idx-in-ae = <0>; @@ -535,7 +535,7 @@ dma-coherent; }; - eth3: ethernet@1{ + eth3: ethernet-1{ compatible = "hisilicon,hns-nic-v2"; ae-handle = <&dsaf0>; port-idx-in-ae = <1>;
Warning (unit_address_vs_reg): Node /soc/ethernet@4 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /soc/ethernet@5 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /soc/ethernet@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /soc/ethernet@1 has a unit name, but no reg property Fix warning when build with W=1. Cc: Kejian Yan <yankejian@huawei.com> Cc: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> --- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 1.7.12.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel