linux-next: build failure after merge of the nand tree

From: Stephen Rothwell
Date: Mon Sep 07 2020 - 23:35:50 EST


Hi all,

After merging the nand tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c: In function 'common_nfc_set_geometry':
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:513:33: error: 'chip' undeclared (first use in this function)
513 | nanddev_get_ecc_requirements(&chip->base);
| ^~~~
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:513:33: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

aa5faaa5f95c ("mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant")

I have used the nand tree from next-20200903 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgp5DumgY4uDN.pgp
Description: OpenPGP digital signature