[PATCH] arm64: s32g2: Pass unit name to soc node

Chester Lin clin at suse.com
Sun May 15 20:15:59 PDT 2022


On Sat, May 14, 2022 at 11:35:05AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
> 
> Pass unit name to soc node to fix the following W=1 build warning:
> 
> arch/arm64/boot/dts/freescale/s32g2.dtsi:82.6-123.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>
> ---
>  arch/arm64/boot/dts/freescale/s32g2.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi
> index 59ea8a25aa4c..824d401e7a2c 100644
> --- a/arch/arm64/boot/dts/freescale/s32g2.dtsi
> +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi
> @@ -79,7 +79,7 @@ psci {
>  		};
>  	};
>  
> -	soc {
> +	soc at 0 {
>  		compatible = "simple-bus";
>  		#address-cells = <1>;
>  		#size-cells = <1>;
> -- 
> 2.25.1
> 

Thanks!

Reviewed-by: Chester Lin <clin at suse.com>




More information about the linux-arm-kernel mailing list