[U-Boot] [PATCH 18/20] cmd: pinmux: Fix warnings when compiling with W=1

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


Hi

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: vendredi 21 juin 2019 15:27
> 
> This patch solves the following warnings:
> 
> cmd/pinmux.c: In function 'do_dev':
> cmd/pinmux.c:26:6: warning: this statement may fall through [-Wimplicit-
> fallthrough=]
>    if (ret) {
>       ^
> cmd/pinmux.c:30:2: note: here
>   case 1:
>   ^~~~
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>  cmd/pinmux.c | 1 +
>  1 file changed, 1 insertion(+)
> 

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

Patrick



More information about the U-Boot mailing list