From: Patrick DELAUNAY Date: Fri, 12 Jul 2019 14:01:19 +0000 Subject: [U-Boot] [PATCH 06/20] adc: stm32-adc: Fix warnings when compiling with W=1 In-Reply-To: <1561123618-2029-6-git-send-email-patrick.delaunay@st.com> References: <1561123618-2029-1-git-send-email-patrick.delaunay@st.com> <1561123618-2029-6-git-send-email-patrick.delaunay@st.com> Message-ID: 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/adc/stm32-adc.c: In function 'stm32_adc_chan_of_init': > warning: comparison between signed and unsigned integer expressions [-Wsign- > compare] > if (num_channels > adc->cfg->max_channels) { > ^ > Signed-off-by: Patrice Chotard > > Signed-off-by: Patrick Delaunay > --- > > drivers/adc/stm32-adc.c | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > Applied to u-boot-stm32/master, thanks! Patrick