[U-Boot] [PATCH 14/20] pinctrl: pinctrl_stm32: 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:
>
> warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
> if (*idx < 0)
> ^
> drivers/pinctrl/pinctrl_stm32.c: At top level:
> warning: no previous prototype for 'stm32_pinctrl_probe' [-Wmissing-prototypes]
> int stm32_pinctrl_probe(struct udevice *dev)
> ^~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Patrice CHOTARD <patrice.chotard at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> drivers/pinctrl/pinctrl_stm32.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Applied to u-boot-stm32/master, thanks!
Patrick
More information about the U-Boot
mailing list