diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-01-09 11:13:54 +0106 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2023-01-11 15:35:11 +0100 |
commit | 717a5651b10940ec827fe07acfb956d906250b2b (patch) | |
tree | da05da1404cbe2a518e78802e9e556939a80dcb6 /scripts/gdb/linux/modules.py | |
parent | 2364b406824f1f42026d87c1e26d4dd1ca0f65af (diff) |
console: Use BIT() macros for @flags values
Rather than manually calculating powers of 2, use the BIT() macros.
Also take this opportunatity to cleanup and restructure the value
comments into proper kerneldoc comments.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230109100800.1085541-3-john.ogness@linutronix.de
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions