[U-Boot] [PATCH 05/20] stm32mp1: bsec: Fix warnings when compiling with W=1

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


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: vendredi 21 juin 2019 15:27
> 
> This patch solves the following warnings:
> 
> arch/arm/mach-stm32mp/bsec.c: In function 'stm32mp_bsec_read':
> warning: comparison between signed and unsigned integer expressions [-Wsign-
> compare]
>   if (offset >= STM32_BSEC_OTP_OFFSET) {
>              ^~
> arch/arm/mach-stm32mp/bsec.c: In function 'stm32mp_bsec_write':
> warning: comparison between signed and unsigned integer expressions [-Wsign-
> compare]
>   if (offset >= STM32_BSEC_OTP_OFFSET) {
>              ^~
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>  arch/arm/mach-stm32mp/bsec.c | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 


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

Patrick


More information about the U-Boot mailing list