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

From: Artem Bityutskiy <[email-masked]>
Date: Tue, 07 Feb 2012 10:02:06 +0200

On Tue, 2012-02-07 at 13:58 +1100, Stephen Rothwell wrote:
> 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]

Hi, thanks a lot, I missed this. Fixed and build-tested with ARCH=i386.

-- 
Best Regards,
Artem Bityutskiy