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

Stephen Rothwell
2020-09-14T01:40:45Z

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

Hi all,

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

drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c: In function 'common_nfc_set_geometry':
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:514:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
514 | nanddev_get_ecc_requirements(&chip->base);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

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