diff options
| author | Marcos Paulo de Souza <mpdesouza@suse.com> | 2025-11-21 15:50:34 -0300 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2025-11-27 15:54:50 +0100 |
| commit | 4c70ab110bdd6513f3cac6b9eb01ac3b7f0d23a2 (patch) | |
| tree | 90cc5644b6cd802cb065a29d34a84649f7be1350 /tools/lib/python/abi/helpers.py | |
| parent | 822e2bb0d6dd792b95da2d4f420eb3dac5af95a7 (diff) | |
arch: um: kmsg_dump: Use console_is_usable
All consoles found on for_each_console are registered, meaning that all
of them have the CON_ENABLED flag set. Since NBCON was introduced it's
important to check if a given console also implements the NBCON callbacks.
The function console_is_usable does exactly that.
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://patch.msgid.link/20251121-printk-cleanup-part2-v2-2-57b8b78647f4@suse.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/lib/python/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions
