Re: [PATCH V2] net: ethernet: mscc: fix missing brace warning for old compilers

From: Vladimir Oltean
Date: Tue Nov 03 2020 - 14:26:54 EST


On Tue, Nov 03, 2020 at 11:05:09AM -0800, Jakub Kicinski wrote:
> I believe Vladimir asked to use a memset instead;
>
> struct ocelot_vcap_u16 etype;
>
> memset(&etype, 0, sizeof(etype));

Thanks, Jakub.