Re: [PATCH 1/3] rtlwifi: fix uninitialized rtlhal->last_suspend_sec time

2017-11-06 Thread Larry Finger
On 11/06/2017 07:55 AM, Arnd Bergmann wrote: We set rtlhal->last_suspend_sec to an uninitialized stack variable, but unfortunately gcc never warned about this, I only found it while working on another patch. I opened a gcc bug for this. Presumably the value of rtlhal->last_suspend_sec is not

[PATCH 1/3] rtlwifi: fix uninitialized rtlhal->last_suspend_sec time

2017-11-06 Thread Arnd Bergmann
We set rtlhal->last_suspend_sec to an uninitialized stack variable, but unfortunately gcc never warned about this, I only found it while working on another patch. I opened a gcc bug for this. Presumably the value of rtlhal->last_suspend_sec is not all that important, but it does get used, so we