Re: [PATCH] geneve: Add missing braces in addr6 initializer

From: Stefano Brivio
Date: Mon Nov 12 2018 - 17:19:27 EST


On Mon, 12 Nov 2018 15:12:48 -0700
Nathan Chancellor <natechancellor@xxxxxxxxx> wrote:

> Clang warns:
>
> drivers/net/geneve.c:428:29: error: suggest braces around initialization
> of subobject [-Werror,-Wmissing-braces]
> struct in6_addr addr6 = { 0 };
> ^
> {}
>
> Fixes: a07966447f39 ("geneve: ICMP error lookup handler")
> Signed-off-by: Nathan Chancellor <natechancellor@xxxxxxxxx>

Thanks for spotting this. By the way, I guess you should indicate in
the subject when patches are meant for net-next.

Reviewed-by: Stefano Brivio <sbrivio@xxxxxxxxxx>

--
Stefano