This patch solves following static checker warning:
drivers/mtd/nand/raw/stm32_fmc2_nand.c:350 stm32_fmc2_nfc_select_chip()
error: buffer overflow 'nfc->data_phys_addr' 2 <= 2
The CS value can only be 0 or 1.
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Fixes:
|
||
---|---|---|
.. | ||
onenand | ||
raw | ||
spi | ||
bbt.c | ||
core.c | ||
ecc.c | ||
Kconfig | ||
Makefile |