Re: linux-next: build warning after merge of the akpm-current tree

From: Stephen Rothwell
Date: Tue Sep 15 2020 - 00:16:24 EST


Hi David,

On Tue, 15 Sep 2020 12:03:08 +0800 David Gow <davidgow@xxxxxxxxxx> wrote:
>
> > 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);
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
> I was unable to reproduce this warning: it looks unrelated, so I'm
> assuming it was attributed.

Yeah, sorry, that was included by accident.

--
Cheers,
Stephen Rothwell

Attachment: pgpdoRt9GSFsX.pgp
Description: OpenPGP digital signature