[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <73b08173-f563-f77f-1293-48567163e68b@iogearbox.net>
Date: Thu, 24 May 2018 09:35:03 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Martin KaFai Lau <kafai@...com>, netdev@...r.kernel.org
Cc: Alexei Starovoitov <ast@...com>, kernel-team@...com
Subject: Re: [PATCH v2 bpf-next] bpf: btf: Avoid variable length array
On 05/23/2018 08:32 PM, Martin KaFai Lau wrote:
> Sparse warning:
> kernel/bpf/btf.c:1985:34: warning: Variable length array is used.
>
> This patch directly uses ARRAY_SIZE().
>
> Fixes: f80442a4cd18 ("bpf: btf: Change how section is supported in btf_header")
> Signed-off-by: Martin KaFai Lau <kafai@...com>
Applied to bpf-next, thanks Martin!
Powered by blists - more mailing lists