[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a0jnU69RQ8jLF82GofE=fgENMVoWkObYvro82f+q=p_XA@mail.gmail.com>
Date: Tue, 29 May 2018 12:35:14 +0200
From: Arnd Bergmann <arnd@...db.de>
To: YueHaibing <yuehaibing@...wei.com>
Cc: David Miller <davem@...emloft.net>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Networking <netdev@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH bpf-next] bpf: hide the unused 'off' variable
On Tue, May 29, 2018 at 4:40 AM, YueHaibing <yuehaibing@...wei.com> wrote:
> The local variable is only used while CONFIG_IPV6 enabled
>
> net/core/filter.c: In function ‘sk_msg_convert_ctx_access’:
> net/core/filter.c:6489:6: warning: unused variable ‘off’ [-Wunused-variable]
> int off;
> ^
> This puts it into #ifdef.
>
> Fixes: 303def35f64e ("bpf: allow sk_msg programs to read sock fields")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
I was about to send the same patch and found you had already sent one.
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists