[U-Boot] [PATCH 07/20] adc: stm32: Fix warnings when compiling with W=1

Patrick DELAUNAY patrick.delaunay at st.com
Fri Jul 12 14:01:20 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/adc/stm32-adc-core.c: In function 'stm32h7_adc_clk_sel':
> warning: comparison between signed and unsigned integer expressions [-Wsign-
> compare]
>    for (i = 0; i < ARRAY_SIZE(stm32h7_adc_ckmodes_spec); i++) {
>                  ^
> warning: comparison between signed and unsigned integer expressions [-Wsign-
> compare]
>   for (i = 0; i < ARRAY_SIZE(stm32h7_adc_ckmodes_spec); i++) {
>                 ^
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>  drivers/adc/stm32-adc-core.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

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

Patrick


More information about the U-Boot mailing list