Re: [PATCH 2/2] ram: sifive: Fix compiler warnings for 32-bit

20 Aug
2020
20 Aug
'20
9:34 a.m.
From: Bin Meng [mailto:bmeng.cn@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@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@windriver.com
drivers/ram/sifive/fu540_ddr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Rick Chen rick@andestech.com
1726
Age (days ago)
1726
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rick Chen