aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alloc_tag.c
diff options
context:
space:
mode:
authorJoel Granados <[email protected]>2024-06-04 06:29:22 +0000
committerJoel Granados <[email protected]>2024-06-13 08:50:52 +0000
commit55bb7eb62db4995cec7e309c2b9a1070cfd60eb6 (patch)
treee4fb510caa3582ab42d6133a489860ca481096a4 /lib/alloc_tag.c
parentsysctl: Remove check for sentinel element in ctl_table arrays (diff)
downloadkernel-55bb7eb62db4995cec7e309c2b9a1070cfd60eb6.tar.gz
kernel-55bb7eb62db4995cec7e309c2b9a1070cfd60eb6.zip
sysctl: Replace nr_entries with ctl_table_size in new_links
The number of ctl_table entries (nr_entries) calculation was previously based on the ctl_table_size and the sentinel element. Since the sentinels have been removed, we remove the calculation and just use the ctl_table_size from the ctl_table_header. Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'lib/alloc_tag.c')
0 files changed, 0 insertions, 0 deletions