linux-next: build failure after merge of the l2-mtd tree
sfr at canb.auug.org.au
Mon Feb 6 16:10:26 EST 2012
On Mon, 06 Feb 2012 11:14:14 +0200 Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Mon, 2012-02-06 at 12:07 +1100, Stephen Rothwell wrote:
> > drivers/mtd/devices/pmc551.c:191:12: error: conflicting types for 'pmc551_unpoint'
> > include/linux/mtd/pmc551.h:37:13: note: previous declaration of 'pmc551_unpoint' was here
> > drivers/mtd/devices/pmc551.c: In function 'pmc551_unpoint':
> > drivers/mtd/devices/pmc551.c:196:1: warning: no return statement in function returning non-void [-Wreturn-type]
> Thanks, fixed. I am doing rather massive MTD API cleaning, so new small
> issues are possible.
You fixed the header file, but not the fact that pmc551_unpoint() still
doesn't return anything ... Warnings are there for a reason sometimes :-)
Stephen Rothwell sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: not available
More information about the linux-mtd