linux-next: build warning after merge of the nand tree
From: Stephen Rothwell
Date: Sun Sep 13 2020 - 21:40:45 EST
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")
--
Cheers,
Stephen Rothwell
Attachment:
pgp9M_aBthePO.pgp
Description: OpenPGP digital signature