Re: linux-next: build failure after merge of the spi-nor tree

From: Cyrille Pitchen
Date: Wed Jun 21 2017 - 18:44:37 EST


Hi Stephen,

Le 21/06/2017 Ã 04:19, Stephen Rothwell a Ãcrit :
> Hi Cyrille,
>
> After merging the spi-nor tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/mtd/spi-nor/aspeed-smc.c: In function 'aspeed_smc_chip_set_segment':
> drivers/mtd/spi-nor/aspeed-smc.c:554:14: error: 'SZ_128M' undeclared (first use in this function)
> size == SZ_128M) {
> ^
>
> Caused by commit
>
> bb3a588d2151 ("mtd: spi-nor: aspeed: configure chip window on AHB bus")
>
> Forgot to include linux/sizes.h.

I've squashed the fixup into the faulty patch in the spi-nor/next branch
of l2-mtd, so it should be OK now.

Thank you for your report and sorry for the noise!

Best regards,

Cyrille

>
> I have used the spi-nor tree from next-20170620 for today.
>