diff options
| author | Christophe Kerello <[email protected]> | 2019-07-09 11:41:45 +0200 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2019-07-25 14:21:19 +0200 |
| commit | b410f4eb01a1950ed73ae40859d0978b1a924380 (patch) | |
| tree | 4e885af14ad5f38bc5b09ea1f6fd4a7a5d671b10 /drivers/fpga/fpga-mgr.c | |
| parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) | |
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:
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 <[email protected]>
Cc: [email protected]
Fixes: 2cd457f328c1 ("mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver")
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions