summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorChristophe Kerello <christophe.kerello@st.com>2019-07-09 11:41:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 13:14:16 +0200
commit026f900e102aa63ab944b6b85d23c5b800a2388c (patch)
tree906515ecce36884fd3f2069fa150468f1f3e817e /fs/ext4
parentafe3a71e655ddb6b356aa8cbee01138536796324 (diff)
downloadlinux-stable-026f900e102aa63ab944b6b85d23c5b800a2388c.tar.gz
linux-stable-026f900e102aa63ab944b6b85d23c5b800a2388c.tar.bz2
linux-stable-026f900e102aa63ab944b6b85d23c5b800a2388c.zip
mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option
commit b410f4eb01a1950ed73ae40859d0978b1a924380 upstream. This patch solves warnings detected by setting W=1 when building. Warnings type detected: drivers/mtd/nand/raw/stm32_fmc2_nand.c: In function ‘stm32_fmc2_calc_timings’: drivers/mtd/nand/raw/stm32_fmc2_nand.c:1417:23: warning: comparison is always false due to limited range of data type [-Wtype-limits] else if (tims->twait > FMC2_PMEM_PATT_TIMING_MASK) Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Cc: stable@vger.kernel.org Fixes: 2cd457f328c1 ("mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions