summaryrefslogtreecommitdiffstats
path: root/mm/mmap_lock.c
diff options
context:
space:
mode:
authorLinkui Xiao <xiaolinkui@kylinos.cn>2022-07-12 09:23:02 +0200
committerAndrii Nakryiko <andrii@kernel.org>2022-07-14 06:43:52 +0200
commitb1fc28b338860b6c06a7a5881005a1ca9b108ba2 (patch)
tree4fc19e93557bd3e2b98f1768970f8fae7ad1ff8b /mm/mmap_lock.c
parentbpf: Tidy up verifier check_func_arg() (diff)
downloadlinux-b1fc28b338860b6c06a7a5881005a1ca9b108ba2.tar.xz
linux-b1fc28b338860b6c06a7a5881005a1ca9b108ba2.zip
samples: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
The ARRAY_SIZE macro is more compact and more formal in linux source. Signed-off-by: Linkui Xiao <xiaolinkui@kylinos.cn> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/20220712072302.13761-1-xiaolinkui@kylinos.cn
Diffstat (limited to 'mm/mmap_lock.c')
0 files changed, 0 insertions, 0 deletions