[PATCH 4/4] clk: stm32mp1: solve type issue in stm32mp1_lse_enable and stm32mp1_clktree

Patrick DELAUNAY patrick.delaunay at st.com
Fri Feb 14 11:31:52 CET 2020


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: mardi 28 janvier 2020 10:44
> 
> Solve type issue in stm32mp1_lse_enable and stm32mp1_clktree.
> 
> This patch solves the warnings when compiling with W=1 on stm32mp1 board:
> 
> clk_stm32mp1.c: In function ‘stm32mp1_lse_enable’:
> clk_stm32mp1.c:1238:15: warning: comparison of integer expressions
>   of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’
>   [-Wsign-compare]
> clk_stm32mp1.c:1239:13: warning: comparison of integer expressions
>   of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’
>   [-Wsign-compare]
> 
> clk_stm32mp1.c: In function ‘stm32mp1_clktree’:
> clk_stm32mp1.c:1814:17: warning: comparison of integer expressions
>   of different signedness: ‘int’ and ‘unsigned int’
>   [-Wsign-compare]
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---

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

Regards
Patrick


More information about the U-Boot mailing list