Re: [PATCH] ipmi: work around gcc-4.9 build warning

2014-09-09 Thread Corey Minyard
I'd prefer to fix gcc, but I understand. This change is probably better in general, anyway. Queued for 3.18. Thanks. -corey On 08/23/2014 02:04 PM, Arnd Bergmann wrote: > Building ipmi on arm with gcc-4.9 results in this warning > for an allmodconfig build: > > drivers/char/ipmi/ipmi_si_intf.c

[PATCH] ipmi: work around gcc-4.9 build warning

2014-08-23 Thread Arnd Bergmann
Building ipmi on arm with gcc-4.9 results in this warning for an allmodconfig build: drivers/char/ipmi/ipmi_si_intf.c: In function 'ipmi_thread': include/linux/time.h:28:5: warning: 'busy_until.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lhs->tv_sec > rhs->tv_