[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <85bd6a92-5230-6b7b-a3de-d166e80913f4@iogearbox.net>
Date: Mon, 22 Jun 2020 23:27:02 +0200
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] libbpf: forward-declare bpf_stats_type for systems
with outdated UAPI headers
On 6/21/20 5:11 AM, Andrii Nakryiko wrote:
> Systems that doesn't yet have the very latest linux/bpf.h header, enum
> bpf_stats_type will be undefined, causing compilation warnings. Prevents this
> by forward-declaring enum.
>
> Fixes: 0bee106716cf ("libbpf: Add support for command BPF_ENABLE_STATS")
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Applied, thanks!
Powered by blists - more mailing lists