]> Git Repo - u-boot.git/commit
serial: stm32: Fix warnings when compiling with W=1
authorPatrick Delaunay <[email protected]>
Fri, 21 Jun 2019 13:26:41 +0000 (15:26 +0200)
committerPatrick Delaunay <[email protected]>
Fri, 12 Jul 2019 09:50:54 +0000 (11:50 +0200)
commit585289b4fc47a8d745bf922b86f4adc69b24088e
tree490076b6d5b1ff9a39fc06221c1fb929226d1d44
parent8e1947774e39f18912fb2fb130e1c5bba0db0d79
serial: stm32: Fix warnings when compiling with W=1

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 <[email protected]>
Signed-off-by: Patrick Delaunay <[email protected]>
drivers/serial/serial_stm32.c
This page took 0.033479 seconds and 4 git commands to generate.