[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b313bfe5-e10a-4732-21f7-c95f0d9394dd@iogearbox.net>
Date: Tue, 4 Feb 2020 00:11:33 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Andrii Nakryiko <andriin@...com>, bpf@...r.kernel.org,
netdev@...r.kernel.org, ast@...com
Cc: andrii.nakryiko@...il.com, kernel-team@...com
Subject: Re: [PATCH bpf] selftests/bpf: fix trampoline_count.c selftest
compilation warning
On 2/2/20 7:51 AM, Andrii Nakryiko wrote:
> Fix missing braces compilation warning in trampoline_count test:
>
> .../prog_tests/trampoline_count.c: In function ‘test_trampoline_count’:
> .../prog_tests/trampoline_count.c:49:9: warning: missing braces around initializer [-Wmissing-braces]
> struct inst inst[MAX_TRAMP_PROGS] = { 0 };
> ^
> .../prog_tests/trampoline_count.c:49:9: warning: (near initialization for ‘inst[0]’) [-Wmissing-braces]
>
> Fixes: d633d57902a5 ("selftest/bpf: Add test for allowed trampolines count")
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Applied, thanks!
Powered by blists - more mailing lists