summaryrefslogtreecommitdiff
path: root/scripts/checkkconfigsymbols.py
diff options
context:
space:
mode:
authorJon Mediero <jmdr@disroot.org>2021-05-20 15:23:26 +0300
committerJessica Yu <jeyu@kernel.org>2021-05-26 15:55:45 +0300
commit2c0f0f3639562d6e38ee9705303c6457c4936eac (patch)
treeb9e995fcb120cd0f829983170af70997f5686a23 /scripts/checkkconfigsymbols.py
parent02b2fb455b2e80a0a831d067ab7ef950e2991eee (diff)
downloadlinux-2c0f0f3639562d6e38ee9705303c6457c4936eac.tar.xz
module: correctly exit module_kallsyms_on_each_symbol when fn() != 0
Commit 013c1667cf78 ("kallsyms: refactor {,module_}kallsyms_on_each_symbol") replaced the return inside the nested loop with a break, changing the semantics of the function: the break only exits the innermost loop, so the code continues iterating the symbols of the next module instead of exiting. Fixes: 013c1667cf78 ("kallsyms: refactor {,module_}kallsyms_on_each_symbol") Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Jon Mediero <jmdr@disroot.org> Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'scripts/checkkconfigsymbols.py')
0 files changed, 0 insertions, 0 deletions