]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp1: Fix warnings when compiling with W=1
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 21 Jun 2019 13:26:39 +0000 (15:26 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:50:54 +0000 (11:50 +0200)
commite609e131c1e06bc3ed2da01709c889934433d76c
treedd29b36cfb15a6d7e5c1d2ab83889c37a318f53a
parent9421781466f0c1490a4397f53b9955f63effd78f
stm32mp1: Fix warnings when compiling with W=1

This patch solves the following warnings:

arch/arm/mach-stm32mp/cpu.c:378:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
   if (instance > ARRAY_SIZE(serial_addr))
                ^

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/cpu.c