[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200930000316.ifjq5vn3wtsth5s3@kafai-mbp.dhcp.thefacebook.com>
Date: Tue, 29 Sep 2020 17:03:16 -0700
From: Martin KaFai Lau <kafai@...com>
To: Andrii Nakryiko <andriin@...com>
CC: <bpf@...r.kernel.org>, <netdev@...r.kernel.org>, <ast@...com>,
<daniel@...earbox.net>, <andrii.nakryiko@...il.com>,
<kernel-team@...com>
Subject: Re: [PATCH bpf-next 2/3] libbpf: compile libbpf under -O2 level by
default and catch extra warnings
On Tue, Sep 29, 2020 at 03:06:03PM -0700, Andrii Nakryiko wrote:
> For some reason compiler doesn't complain about uninitialized variable, fixed
> in previous patch, if libbpf is compiled without -O2 optimization level. So do
> compile it with -O2 and never let similar issue slip by again. -Wall is added
> unconditionally, so no need to specify it again.
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists