Re: [greybus-dev] [PATCH] greybus: uart: fix uninitialized flow control variable

2020-05-14 Thread Johan Hovold
On Wed, Apr 29, 2020 at 03:00:44PM -0500, Alex Elder wrote: > On 4/29/20 2:00 PM, Arnd Bergmann wrote: > > gcc-10 points out an uninitialized variable use: > > Wow, nice, checking individual uninitialized fields within > the structure. > > The structure should really be zero-initialized anyway;

Re: [greybus-dev] [PATCH] greybus: uart: fix uninitialized flow control variable

2020-04-29 Thread Alex Elder
On 4/29/20 2:00 PM, Arnd Bergmann wrote: > gcc-10 points out an uninitialized variable use: Wow, nice, checking individual uninitialized fields within the structure. The structure should really be zero-initialized anyway; it's passed as a structure in a message elsewhere. With your change, all