* [PATCH] arm64: dts: amlogic: meson-s4-aq222: fix waring for leading 0s
@ 2022-01-13 10:27 Anders Roxell
2022-01-13 10:39 ` Neil Armstrong
0 siblings, 1 reply; 2+ messages in thread
From: Anders Roxell @ 2022-01-13 10:27 UTC (permalink / raw)
To: robh+dt, narmstrong, khilman
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel,
Anders Roxell
When building allmodconfig the following waring shows up:
arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts:21.18-24.4: Warning (unit_address_format): /memory@00000000: unit name should not have leading 0s
Fixing the waring by dropping all the '0' except one.
Fixes: 1c1475389af0 ("arm64: dts: add support for S4 based Amlogic AQ222")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts b/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts
index a942d7e06d6e..8ffbcb2b1ac5 100644
--- a/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts
@@ -18,7 +18,7 @@ aliases {
serial0 = &uart_B;
};
- memory@00000000 {
+ memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
};
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: amlogic: meson-s4-aq222: fix waring for leading 0s
2022-01-13 10:27 [PATCH] arm64: dts: amlogic: meson-s4-aq222: fix waring for leading 0s Anders Roxell
@ 2022-01-13 10:39 ` Neil Armstrong
0 siblings, 0 replies; 2+ messages in thread
From: Neil Armstrong @ 2022-01-13 10:39 UTC (permalink / raw)
To: Anders Roxell, robh+dt, khilman
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel
Hi,
On 13/01/2022 11:27, Anders Roxell wrote:
> When building allmodconfig the following waring shows up:
>
> arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts:21.18-24.4: Warning (unit_address_format): /memory@00000000: unit name should not have leading 0s
>
> Fixing the waring by dropping all the '0' except one.
>
> Fixes: 1c1475389af0 ("arm64: dts: add support for S4 based Amlogic AQ222")
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
> arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts b/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts
> index a942d7e06d6e..8ffbcb2b1ac5 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-s4-s805x2-aq222.dts
> @@ -18,7 +18,7 @@ aliases {
> serial0 = &uart_B;
> };
>
> - memory@00000000 {
> + memory@0 {
> device_type = "memory";
> reg = <0x0 0x0 0x0 0x40000000>;
> };
>
Thanks, I also noticed and fixed in the commit directly, it should be fixed on next -next
Neil
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-13 10:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-13 10:27 [PATCH] arm64: dts: amlogic: meson-s4-aq222: fix waring for leading 0s Anders Roxell
2022-01-13 10:39 ` Neil Armstrong
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).