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 | b355362845704f66c486ecd6b789d9246e990f18 (diff) | |
parent | 132a90d1527fedba2d95085c951ccf00dbbebe41 (diff) | |
download | lwn-f0f692395353b99a54f7f6e5a8684d73af504879.tar.gz lwn-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 |