commit | 3f4afd38e33de178a0a0ec42ae833f51fc5117d7 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Fri Jun 21 15:26:41 2019 +0200 |
committer | Patrick Delaunay <patrick.delaunay@st.com> | Fri Jul 12 11:50:54 2019 +0200 |
tree | 490076b6d5b1ff9a39fc06221c1fb929226d1d44 | |
parent | 500401f68426db604d6abacc85ed4fb92c80cb74 [diff] |
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 <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>