summary refs log tree commit diff
path: root/ipc/ipc_sysctl.c
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2022-07-27 17:58:20 +0200
committerMiguel Ojeda <ojeda@kernel.org>2022-09-28 08:54:17 +0200
commitb66c874fdb6653aefb3019aeaa9b9f8c1aadd6a0 (patch)
treebe669d54a0c7dfaf9ebe8fb64c0125603d705f84 /ipc/ipc_sysctl.c
parentf76349cf41451c5c42a99f18a9163377e4b364ff (diff)
downloadlinux-b66c874fdb6653aefb3019aeaa9b9f8c1aadd6a0.tar.gz
kallsyms: use `ARRAY_SIZE` instead of hardcoded size
This removes one place where the `500` constant is hardcoded.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Geert Stappers <stappers@stappers.nl>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Co-developed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions