spi: stm32_qspi: avoid warnings when building with W=1 option
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 21 Jun 2019 13:26:55 +0000 (15:26 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:50:57 +0000 (11:50 +0200)
commit1ddf544e63c7dcfcd60bb661da26aea5d85397f5
tree0c76ad751f4a0ae35732c14fedcf95d01d3853f8
parentd99ea13cdf01762c1c3803581d9139705b813c91
spi: stm32_qspi: avoid warnings when building with W=1 option

This patch solves warnings detected by setting W=1 when building.

Warnings type detected:
 - [-Wtype-limits]
 - [-Wsign-compare]

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/spi/stm32_qspi.c