diff options
author | Roman Storozhenko <romeusmeister@gmail.com> | 2024-06-20 18:57:23 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-06-20 19:08:08 +0300 |
commit | 3e1f12c26646eb0ad67d3eaefd32f765997da6a8 (patch) | |
tree | ff93fec1cd271b7785f1c71f91e4590cc2a9a3f6 /scripts/gdb/linux/lists.py | |
parent | a286db937ebd90067dac44aa0e0924468e8f0a90 (diff) | |
download | linux-3e1f12c26646eb0ad67d3eaefd32f765997da6a8.tar.xz |
cpupower: Change the var type of the 'monitor' subcommand display mode
There is a type 'enum operation_mode_e' contains the display modes of
the 'monitor' subcommand. This type isn't used though, instead the
variable 'mode' is of a simple 'int' type.
Change 'mode' variable type from 'int' to 'enum operation_mode_e' in
order to improve compiler type checking.
Built and tested this with different monitor cmdline params. Everything
works as expected, that is nothing changed and no regressions encountered.
Signed-off-by: Roman Storozhenko <romeusmeister@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions