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

Vladimir Oltean
2020-11-03T19:26:55Z

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.