diff options
author | 2022-04-11 13:12:05 +0800 | |
---|---|---|
committer | 2022-04-21 11:40:59 -0700 | |
commit | cb55f27ac9326bfe3bcaaf0adb498778d64602b6 (patch) | |
tree | b3530a9bf307f3768bccedbfc492ebff598ed4e9 /scripts/gdb/linux/utils.py | |
parent | mm: fix unused variable kernel warning when SYSCTL=n (diff) | |
download | linux-dev-cb55f27ac9326bfe3bcaaf0adb498778d64602b6.tar.xz linux-dev-cb55f27ac9326bfe3bcaaf0adb498778d64602b6.zip |
fs/proc: Introduce list_for_each_table_entry for proc sysctl
Use the list_for_each_table_entry macro to optimize the scenario
of traverse ctl_table. This make the code neater and easier to
understand.
Suggested-by: Davidlohr Bueso<dave@stgolabs.net>
Signed-off-by: Meng Tang <tangmeng@uniontech.com>
[updated the sysctl_check_table() hunk due to some changes upstream]
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions