Hi Marcel, Marcel Ziswiler <mar...@ziswiler.com> wrote on Tue, 17 Jul 2018 10:46:18 +0200:
> From: Stefan Agner <ste...@agner.ch> > > The Tegra driver currently only support a single chip select, hence > check boundaries accordingly. This fixes a off by one issue catched > with Smatch: > drivers/mtd/nand/raw/tegra_nand.c:476 tegra_nand_select_chip() > warn: array off by one? 'nand->cs[die_nr]' > > Also warn in case the stack asks for a chip select we currently do > not support. > > Reported-by: Dan Carpenter <dan.carpen...@oracle.com> > Signed-off-by: Stefan Agner <ste...@agner.ch> > Signed-off-by: Miquel Raynal <miquel.ray...@bootlin.com> > Signed-off-by: Marcel Ziswiler <marcel.ziswi...@toradex.com> Applied on nand/next in place of the previous one (with my SoB after yours). Thanks, Miquèl