[PATCH] mtd: rawnand: xway: Fix build issue

Miquel Raynal miquel.raynal at bootlin.com
Tue Jul 7 15:05:10 EDT 2020


On Fri, 2020-06-26 at 06:55:11 UTC, Miquel Raynal wrote:
> This MIPS driver does not support COMPILE_TEST yet and failed to build
> under my radar.
> 
> Replace 'mtd' chich is not defined in the scope of xway_nand_remove()
> by nand_to_mtd(chip). The mistake has been added in the long series
> dropping nand_release().
> 
> Tested with a 7.3.0 MIPS GCC toolchain built with Buildroot.
> 
> Fixes: 9fdd78f7bcda ("mtd: rawnand: xway: Stop using nand_release()")
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes.

Miquel



More information about the linux-mtd mailing list