From: Patrick DELAUNAY Date: Fri, 12 Jul 2019 14:01:17 +0000 Subject: [U-Boot] [PATCH 03/20] serial: stm32: Fix warnings when compiling with W=1 In-Reply-To: <1561123618-2029-3-git-send-email-patrick.delaunay@st.com> References: <1561123618-2029-1-git-send-email-patrick.delaunay@st.com> <1561123618-2029-3-git-send-email-patrick.delaunay@st.com> Message-ID: <66ac9c28a0f3432a9d2ef2ef1b1d3a0a@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/serial/serial_stm32.c: In function 'stm32_serial_probe': > warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] > if (plat->clock_rate < 0) { > ^ > > Signed-off-by: Patrice Chotard > Signed-off-by: Patrick Delaunay > --- > > drivers/serial/serial_stm32.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Applied to u-boot-stm32/master, thanks! Patrick