2017-06-21 02:19:15

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the spi-nor tree

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 have used the spi-nor tree from next-20170620 for today.

--
Cheers,
Stephen Rothwell


2017-06-21 22:44:24

by Cyrille Pitchen

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the spi-nor tree

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.
>