[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164013001008.21551.5732842230936261495.git-patchwork-notify@kernel.org>
Date: Tue, 21 Dec 2021 23:40:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Xiu Jianfeng <xiujianfeng@...wei.com>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next] bpf: Use struct_size() helper
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:
On Mon, 20 Dec 2021 19:30:48 +0800 you wrote:
> In an effort to avoid open-coded arithmetic in the kernel, use the
> struct_size() helper instead of open-coded calculation.
>
> Link: https://github.com/KSPP/linux/issues/160
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
> ---
> kernel/bpf/local_storage.c | 3 +--
> kernel/bpf/reuseport_array.c | 6 +-----
> 2 files changed, 2 insertions(+), 7 deletions(-)
Here is the summary with links:
- [bpf-next] bpf: Use struct_size() helper
https://git.kernel.org/bpf/bpf-next/c/0dd668d2080c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists