[PATCH 2/2] ram: sifive: Fix compiler warnings for 32-bit
Rick Chen
rickchen36 at gmail.com
Thu Aug 20 09:34:00 CEST 2020
> From: Bin Meng [mailto:bmeng.cn at gmail.com]
> Sent: Tuesday, August 18, 2020 4:09 PM
> To: Rick Jian-Zhi Chen(陳建志); Pragnesh Patel; U-Boot Mailing List
> Cc: Bin Meng
> Subject: [PATCH 2/2] ram: sifive: Fix compiler warnings for 32-bit
>
> From: Bin Meng <bin.meng at windriver.com>
>
> priv->info.size is of type 'size_t' but the length modifier is l.
> Fix this by casting priv->info.size. Note 'z' cannot be used as
> the modifier as SPL does not support that.
>
> Signed-off-by: Bin Meng <bin.meng at windriver.com>
> ---
>
> drivers/ram/sifive/fu540_ddr.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Rick Chen <rick at andestech.com>
More information about the U-Boot
mailing list