From: Patrick DELAUNAY Date: Fri, 12 Jul 2019 14:01:21 +0000 Subject: [U-Boot] [PATCH 13/20] ram: stm32mp1_ram: Fix warnings when compiling with W=1 In-Reply-To: <1561123618-2029-13-git-send-email-patrick.delaunay@st.com> References: <1561123618-2029-1-git-send-email-patrick.delaunay@st.com> <1561123618-2029-13-git-send-email-patrick.delaunay@st.com> Message-ID: <6a677ff3a113448ab8464d67f4b80cba@SFHDAG6NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > From: Patrick DELAUNAY > Sent: vendredi 21 juin 2019 15:27 > > This patch solves the following warnings: > > drivers/ram/stm32mp1/stm32mp1_ram.c: In function 'stm32mp1_ddr_clk_enable': > warning: comparison between signed and unsigned integer expressions [-Wsign- > compare] > for (idx = 0; idx < ARRAY_SIZE(clkname); idx++) { > ^ > drivers/ram/stm32mp1/stm32mp1_ram.c: In function 'stm32mp1_ddr_setup': > warning: comparison between signed and unsigned integer expressions [-Wsign- > compare] > for (idx = 0; idx < ARRAY_SIZE(param); idx++) { > ^ > Signed-off-by: Patrice Chotard > > Signed-off-by: Patrick Delaunay > --- > > drivers/ram/stm32mp1/stm32mp1_ram.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > Applied to u-boot-stm32/master, thanks! Patrick