[U-Boot] [PATCH 13/20] ram: stm32mp1_ram: Fix warnings when compiling with W=1

Patrick DELAUNAY patrick.delaunay at st.com
Fri Jul 12 14:01:21 UTC 2019


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: vendredi 21 juin 2019 15:27
> 
> This patch solves the following warnings:
> 
> drivers/ram/stm32mp1/stm32mp1_ram.c: In function 'stm32mp1_ddr_clk_enable':
> warning: comparison between signed and unsigned integer expressions [-Wsign-
> compare]
>   for (idx = 0; idx < ARRAY_SIZE(clkname); idx++) {
>                     ^
> drivers/ram/stm32mp1/stm32mp1_ram.c: In function 'stm32mp1_ddr_setup':
> warning: comparison between signed and unsigned integer expressions [-Wsign-
> compare]
>   for (idx = 0; idx < ARRAY_SIZE(param); idx++) {
>                     ^
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>  drivers/ram/stm32mp1/stm32mp1_ram.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

Applied to u-boot-stm32/master, thanks!

Patrick


More information about the U-Boot mailing list