Re: [PATCH] net: mscc: ocelot: Fix some struct initializations

2019-06-04 Thread David Miller
From: Nathan Chancellor Date: Mon, 3 Jun 2019 13:49:53 -0700 > Clang warns: > > drivers/net/ethernet/mscc/ocelot_ace.c:335:37: warning: suggest braces > around initialization of subobject [-Wmissing-braces] > struct ocelot_vcap_u64 payload = { 0 }; >

Re: [PATCH] net: mscc: ocelot: Fix some struct initializations

2019-06-03 Thread Nick Desaulniers
On Mon, Jun 3, 2019 at 1:51 PM Nathan Chancellor wrote: > Fixes: b596229448dd ("net: mscc: ocelot: Add support for tcam") > Link: https://github.com/ClangBuiltLinux/linux/issues/505 > Signed-off-by: Nathan Chancellor LGTM thanks Nathan. Reviewed-by: Nick Desaulniers -- Thanks, ~Nick

[PATCH] net: mscc: ocelot: Fix some struct initializations

2019-06-03 Thread Nathan Chancellor
Clang warns: drivers/net/ethernet/mscc/ocelot_ace.c:335:37: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct ocelot_vcap_u64 payload = { 0 }; ^ {}