diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2022-09-04 15:40:47 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-07 17:04:48 +0200 |
commit | aa86a154539e3e06bd7e91323bfea50ef26f1090 (patch) | |
tree | 36714e706016d1787d908930eca536f564bd91bf /lib/kobject.c | |
parent | e26ef3af964acfea311403126acee8c56c89e26b (diff) |
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 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions