Re: [PATCH] misc: suppress build warning

2014-12-04 Thread Andrew Morton
On Thu, 4 Dec 2014 08:30:32 -0800 Greg Kroah-Hartman wrote: > On Thu, Dec 04, 2014 at 03:13:00PM +, Prabhakar Lad wrote: > > On Thu, Dec 4, 2014 at 2:59 PM, Arnd Bergmann wrote: > > > On Thursday 04 December 2014 14:38:30 Lad, Prabhakar wrote: > > >> this patch fixes following build warning

Re: [PATCH] misc: suppress build warning

2014-12-04 Thread Greg Kroah-Hartman
On Thu, Dec 04, 2014 at 03:13:00PM +, Prabhakar Lad wrote: > On Thu, Dec 4, 2014 at 2:59 PM, Arnd Bergmann wrote: > > On Thursday 04 December 2014 14:38:30 Lad, Prabhakar wrote: > >> this patch fixes following build warning: > >> > >> drivers/misc/ioc4.c: In function ‘ioc4_probe’: > >> drivers

Re: [PATCH] misc: suppress build warning

2014-12-04 Thread Prabhakar Lad
On Thu, Dec 4, 2014 at 2:59 PM, Arnd Bergmann wrote: > On Thursday 04 December 2014 14:38:30 Lad, Prabhakar wrote: >> this patch fixes following build warning: >> >> drivers/misc/ioc4.c: In function ‘ioc4_probe’: >> drivers/misc/ioc4.c:194:16: warning: ‘start’ may be used uninitialized in >> this

Re: [PATCH] misc: suppress build warning

2014-12-04 Thread Arnd Bergmann
On Thursday 04 December 2014 14:38:30 Lad, Prabhakar wrote: > this patch fixes following build warning: > > drivers/misc/ioc4.c: In function ‘ioc4_probe’: > drivers/misc/ioc4.c:194:16: warning: ‘start’ may be used uninitialized in > this function [-Wmaybe-uninitialized] > period = (end - start)

[PATCH] misc: suppress build warning

2014-12-04 Thread Lad, Prabhakar
this patch fixes following build warning: drivers/misc/ioc4.c: In function ‘ioc4_probe’: drivers/misc/ioc4.c:194:16: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] period = (end - start) / ^ drivers/misc/ioc4.c:148:11: note: ‘start’ was decla