[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165777421294.18735.2142546131843554603.git-patchwork-notify@kernel.org>
Date: Thu, 14 Jul 2022 04:50:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: xiaolinkui <xiaolinkui@...il.com>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
martin.lau@...ux.dev, song@...nel.org, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org, sdf@...gle.com,
haoluo@...gle.com, jolsa@...nel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org, xiaolinkui@...inos.cn
Subject: Re: [PATCH] samples: bpf: Replace sizeof(arr)/sizeof(arr[0]) with
ARRAY_SIZE
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:
On Tue, 12 Jul 2022 15:23:02 +0800 you wrote:
> From: Linkui Xiao<xiaolinkui@...inos.cn>
>
> The ARRAY_SIZE macro is more compact and more formal in linux source.
>
> Signed-off-by: Linkui Xiao<xiaolinkui@...inos.cn>
> ---
> samples/bpf/fds_example.c | 3 ++-
> samples/bpf/sock_example.c | 3 ++-
> samples/bpf/test_cgrp2_attach.c | 3 ++-
> samples/bpf/test_lru_dist.c | 2 +-
> samples/bpf/test_map_in_map_user.c | 4 +++-
> samples/bpf/tracex5_user.c | 3 ++-
> 6 files changed, 12 insertions(+), 6 deletions(-)
Here is the summary with links:
- samples: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
https://git.kernel.org/bpf/bpf-next/c/b1fc28b33886
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