]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: stm32_fmc2: fix a buffer overflow
authorChristophe Kerello <christophe.kerello@st.com>
Fri, 31 Jul 2020 07:53:34 +0000 (09:53 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 13 Aug 2020 07:53:34 +0000 (09:53 +0200)
commite99e812e12909c32b236efb10c16598663236675
tree451cd3e59e4584d2ef49b065d4fd95b1e8975278
parent9a2b0540dc62ccc2a1a2d58727d1eec5466d1a0f
mtd: rawnand: stm32_fmc2: fix a buffer overflow

The chip select defined in the device tree could only be 0 or 1.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mtd/nand/raw/stm32_fmc2_nand.c