diff options
| author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-06-21 15:26:41 +0200 |
|---|---|---|
| committer | Patrick Delaunay <patrick.delaunay@st.com> | 2019-07-12 11:50:54 +0200 |
| commit | 585289b4fc47a8d745bf922b86f4adc69b24088e (patch) | |
| tree | 490076b6d5b1ff9a39fc06221c1fb929226d1d44 /include/linux/kernel.h | |
| parent | 8e1947774e39f18912fb2fb130e1c5bba0db0d79 (diff) | |
| download | u-boot-585289b4fc47a8d745bf922b86f4adc69b24088e.tar.gz u-boot-585289b4fc47a8d745bf922b86f4adc69b24088e.tar.xz u-boot-585289b4fc47a8d745bf922b86f4adc69b24088e.zip | |
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>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
