diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-11-27 13:37:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-11-28 19:17:06 +0000 |
commit | 2ea2ac84ef357dcaf11a80b303d391fb6c2510d8 (patch) | |
tree | 0624027ddbccb4d3f3a0272007078d7b0f36b34f /scripts/gdb/linux/tasks.py | |
parent | ad1885559249fa2530cb0659b758583873dc906f (diff) |
tty: srmcons: switch need_cr to bool
'need_cr' is a flag, so type it properly to be a 'bool'. Move the
declaration into the loop too. That ensures the variable is initialized
properly even if the code was moved somehow.
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: [email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions