mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 21 Jun 2019 13:26:54 +0000 (15:26 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:50:57 +0000 (11:50 +0200)
commitd99ea13cdf01762c1c3803581d9139705b813c91
treec2afcb92643a76260916a24f1da5e90e9ed83c0a
parent92be6834da54efaa61ebee70a7dfd7005a7b9bf5
mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option

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

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

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mtd/nand/raw/stm32_fmc2_nand.c