> From: Bin Meng [mailto:[email protected]]
> 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 <[email protected]>
>
> 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 <[email protected]>
> ---
>
>  drivers/ram/sifive/fu540_ddr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Rick Chen <[email protected]>

Reply via email to