Re: [OpenWrt-Devel] [PATCH v4 1/1] mtd: get rid of compier warnings

2011-05-25 Thread Florian Fainelli
On Wednesday 25 May 2011 04:58:02 Philip Prindeville wrote: > On 5/20/11 6:38 PM, Philip Prindeville wrote: > > Fixes for the following warnings: > > > > drivers/mtd/devices/block2mtd.c: In function '_open_bdev': > > drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed > > declara

Re: [OpenWrt-Devel] [PATCH v4 1/1] mtd: get rid of compier warnings

2011-05-24 Thread Philip Prindeville
On 5/20/11 6:38 PM, Philip Prindeville wrote: > Fixes for the following warnings: > > drivers/mtd/devices/block2mtd.c: In function '_open_bdev': > drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed > declarations and code > drivers/mtd/devices/block2mtd.c: In function 'add_devi

[OpenWrt-Devel] [PATCH v4 1/1] mtd: get rid of compier warnings

2011-05-20 Thread Philip Prindeville
Fixes for the following warnings: drivers/mtd/devices/block2mtd.c: In function '_open_bdev': drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed declarations and code drivers/mtd/devices/block2mtd.c: In function 'add_device': drivers/mtd/devices/block2mtd.c:399:13: warning: assi