aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <mpdesouza@suse.com>2025-11-21 15:50:34 -0300
committerPetr Mladek <pmladek@suse.com>2025-11-27 15:54:50 +0100
commit4c70ab110bdd6513f3cac6b9eb01ac3b7f0d23a2 (patch)
tree90cc5644b6cd802cb065a29d34a84649f7be1350 /kernel
parentdrivers: serial: kgdboc: Drop checks for CON_ENABLED and CON_BOOT (diff)
downloadlinux-4c70ab110bdd6513f3cac6b9eb01ac3b7f0d23a2.tar.gz
linux-4c70ab110bdd6513f3cac6b9eb01ac3b7f0d23a2.zip
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 'kernel')
0 files changed, 0 insertions, 0 deletions