[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <C75FACD4-8549-4AD1-BDE6-1F5B47095E4C@fb.com>
Date: Tue, 14 Apr 2020 22:05:12 +0000
From: Song Liu <songliubraving@...com>
To: Mao Wenan <maowenan@...wei.com>
CC: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Martin Lau <kafai@...com>, Yonghong Song <yhs@...com>,
Andrii Nakryiko <andriin@...com>,
"john.fastabend@...il.com" <john.fastabend@...il.com>,
"kpsingh@...omium.org" <kpsingh@...omium.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH -next] bpf: remove set but not used variable 'dst_known'
> On Apr 13, 2020, at 4:37 AM, Mao Wenan <maowenan@...wei.com> wrote:
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> kernel/bpf/verifier.c:5603:18: warning: variable ‘dst_known’
> set but not used [-Wunused-but-set-variable]
>
> It is not used since commit f1174f77b50c ("bpf/verifier:
> rework value tracking")
The fix makes sense. But I think f1174f77b50c introduced dst_known,
so this statement is not accurate.
>
> Signed-off-by: Mao Wenan <maowenan@...wei.com>
Powered by blists - more mailing lists