[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQKnN6bariMqkXCzHCGcb-ZT6MSJqXq1QjpRbwS8vdy=eQ@mail.gmail.com>
Date: Sat, 11 Dec 2021 18:16:06 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Network Development <netdev@...r.kernel.org>,
bpf <bpf@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>,
llvm@...ts.linux.dev
Subject: Re: [PATCH] bpf: use kmemdup() to replace kmalloc + memcpy
On Wed, Dec 8, 2021 at 10:22 PM Jiapeng Chong
<jiapeng.chong@...ux.alibaba.com> wrote:
>
> Eliminate the follow coccicheck warning:
>
> ./kernel/bpf/btf.c:6537:13-20: WARNING opportunity for kmemdup.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Applied. Thanks
Powered by blists - more mailing lists