diff options
| author | Petr Mladek <pmladek@suse.com> | 2023-09-04 11:37:37 +0200 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2023-09-04 11:37:37 +0200 |
| commit | f0f692395353b99a54f7f6e5a8684d73af504879 (patch) | |
| tree | 3725700932e1782a10a2fe52dc8d262ad9520a4a /kernel/debug | |
| parent | Merge branch 'for-6.6-vsprintf-doc' into for-linus (diff) | |
| parent | printk: Rename abandon_console_lock_in_panic() to other_cpu_in_panic() (diff) | |
| download | linux-f0f692395353b99a54f7f6e5a8684d73af504879.tar.gz linux-f0f692395353b99a54f7f6e5a8684d73af504879.zip | |
Merge branch 'rework/misc-cleanups' into for-linus
Diffstat (limited to 'kernel/debug')
| -rw-r--r-- | kernel/debug/kdb/kdb_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_io.c b/kernel/debug/kdb/kdb_io.c index 5c7e9ba7cd6b..e9139dfc1f0a 100644 --- a/kernel/debug/kdb/kdb_io.c +++ b/kernel/debug/kdb/kdb_io.c @@ -576,6 +576,8 @@ static void kdb_msg_write(const char *msg, int msg_len) continue; if (c == dbg_io_ops->cons) continue; + if (!c->write) + continue; /* * Set oops_in_progress to encourage the console drivers to * disregard their internal spin locks: in the current calling |
