Messages in this thread | | | Date | Tue, 13 Nov 2018 10:02:28 +0100 | From | Stefano Brivio <> | Subject | Re: [PATCH net-next v2] geneve: Use empty braces for addr6 initializer |
| |
On Mon, 12 Nov 2018 23:11:47 -0700 Nathan Chancellor <natechancellor@gmail.com> wrote:
> Clang warns: > > drivers/net/geneve.c:428:29: error: suggest braces around initialization > of subobject [-Werror,-Wmissing-braces] > struct in6_addr addr6 = { 0 }; > ^ > {} > > Most initializations of structs in the kernel seem to use this format. > > Fixes: a07966447f39 ("geneve: ICMP error lookup handler") > Suggested-by: Joe Perches <joe@perches.com> > Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Also,
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
-- Stefano
| |