aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorBoqun Feng <[email protected]>2022-07-27 15:58:20 +0000
committerMiguel Ojeda <[email protected]>2022-09-28 06:54:17 +0000
commitb66c874fdb6653aefb3019aeaa9b9f8c1aadd6a0 (patch)
treebe669d54a0c7dfaf9ebe8fb64c0125603d705f84 /scripts/generate_rust_target.rs
parentLinux 6.0-rc7 (diff)
downloadkernel-b66c874fdb6653aefb3019aeaa9b9f8c1aadd6a0.tar.gz
kernel-b66c874fdb6653aefb3019aeaa9b9f8c1aadd6a0.zip
kallsyms: use `ARRAY_SIZE` instead of hardcoded size
This removes one place where the `500` constant is hardcoded. Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Geert Stappers <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Boqun Feng <[email protected]> Co-developed-by: Miguel Ojeda <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions