linux-next: build failure after merge of the l2-mtd tree

From: Stephen Rothwell
Date: Mon Feb 06 2012 - 21:58:34 EST


Hi Artem,

After merging the l2-mtd tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/mtd/devices/pmc551.c: In function 'pmc551_erase':
drivers/mtd/devices/pmc551.c:157:2: error: implicit declaration of function 'pmc551_point' [-Werror=implicit-function-declaration]
drivers/mtd/devices/pmc551.c: At top level:
drivers/mtd/devices/pmc551.c:194:12: error: static declaration of 'pmc551_point' follows non-static declaration
drivers/mtd/devices/pmc551.c:157:2: note: previous implicit declaration of 'pmc551_point' was here
drivers/mtd/devices/pmc551.c: In function 'pmc551_unpoint':
drivers/mtd/devices/pmc551.c:229:1: warning: no return statement in function returning non-void [-Wreturn-type]

Caused by commit 1e43e2c68ec0 ("mtd: remove junk pmc551.h"). The last
warning was already there. Please try to build test this stuff before
publishing ...

I have used the version of the l2-mtd tree from next-20120203 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature