Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'tty-5.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty

Pull tty fix from Greg KH:
"Here is a single tty kgdb fix for 5.3-rc4.

It fixes an annoying log message that has caused kdb to become
useless. It's another fallout from commit ddde3c18b700 ("vt: More
locking checks") which tries to enforce locking checks more strictly
in the tty layer, unfortunatly when kdb is stopped, there's no need
for locks :)

This patch has been linux-next for a while with no reported issues"

* tag 'tty-5.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
kgdboc: disable the console lock when in kgdb

+4
+4
drivers/tty/serial/kgdboc.c
··· 277 277 /* Increment the module count when the debugger is active */ 278 278 if (!kgdb_connected) 279 279 try_module_get(THIS_MODULE); 280 + 281 + atomic_inc(&ignore_console_lock_warning); 280 282 } 281 283 282 284 static void kgdboc_post_exp_handler(void) 283 285 { 286 + atomic_dec(&ignore_console_lock_warning); 287 + 284 288 /* decrement the module count when the debugger detaches */ 285 289 if (!kgdb_connected) 286 290 module_put(THIS_MODULE);