Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: Add awk section for ucount sysctl entries

Adjust the sysctl table detection to include the macro pattern used for
the ucount ctl_tables. This prevents falsly assigning them as
non-documented ctl_tables

Signed-off-by: Joel Granados <joel.granados@kernel.org>

+8
+8
scripts/check-sysctl-docs
··· 130 130 file[curentry] = FILENAME 131 131 } 132 132 133 + curtable && /UCOUNT_ENTRY.*/ { 134 + match($0, /UCOUNT_ENTRY\("([^"]+)"\)/, names) 135 + curentry = names[1] 136 + if (debug) print "Adding entry " curentry " to table " curtable 137 + entries[curtable][curentry]++ 138 + file[curentry] = FILENAME 139 + } 140 + 133 141 /register_sysctl.*/ { 134 142 match($0, /register_sysctl(|_init|_sz)\("([^"]+)" *, *([^,)]+)/, tables) 135 143 if (debug) print "Registering table " tables[3] " at " tables[2]