kallsyms: use `ARRAY_SIZE` instead of hardcoded size
This removes one place where the `500` constant is hardcoded. Reviewed-by: NKees Cook <keescook@chromium.org> Reviewed-by: NGeert Stappers <stappers@stappers.nl> Reviewed-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NBoqun Feng <boqun.feng@gmail.com> Co-developed-by: NMiguel Ojeda <ojeda@kernel.org> Signed-off-by: NMiguel Ojeda <ojeda@kernel.org>
Showing
想要评论请 注册 或 登录