diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2022-09-04 23:40:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-07 17:04:48 +0200 |
commit | aa86a154539e3e06bd7e91323bfea50ef26f1090 (patch) | |
tree | 36714e706016d1787d908930eca536f564bd91bf /kernel/module/internal.h | |
parent | dyndbg: drop EXPORTed dynamic_debug_exec_queries (diff) | |
download | linux-aa86a154539e3e06bd7e91323bfea50ef26f1090.tar.xz linux-aa86a154539e3e06bd7e91323bfea50ef26f1090.zip |
dyndbg: cleanup auto vars in dynamic_debug_init
rework var-names for clarity, regularity
rename variables
- n to mod_sites - it counts sites-per-module
- entries to i - display only
- iter_start to iter_mod_start - marks start of each module's subrange
- modct to mod_ct - stylistic
new iterator var:
- site - cursor parallel to iter
1st step towards 'demotion' of iter->site, for removal later
treat vars as iters:
- drop init at top
init just above for-loop, in a textual block
Acked-by: Jason Baron <jbaron@akamai.com>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Link: https://lore.kernel.org/r/20220904214134.408619-11-jim.cromie@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/module/internal.h')
0 files changed, 0 insertions, 0 deletions