On Tue, Feb 05, 2019 at 02:08:18PM +0100, Miquel Raynal wrote: > > - if (chip < 0 || WARN_ON_ONCE(chip > MAX_CE_NUM)) > > + if (chip < 0 || WARN_ON_ONCE(chip >= meson_chip->nsels)) > > return; > > > > nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; > > I am gonna fold this three patches if this is fine for you with the > original patch adding the driver which is currently in my next branch. No problem. regards, dan carpenter ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/