summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2026-08-15 09:24:22 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2026-08-17 11:33:19 +0200
commit2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5 (patch)
treedfae7c53ad0c1bc85c716af84bafb6f31d34d8a9 /scripts/stackusage
parent09f71dbeb287e367beea56d9ac8a3d356ef5e02a (diff)
downloadlinux-2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5.tar.gz
linux-2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5.zip
m68k: nfcon: Do not call console_is_registered() in nfcon_device()
Since 7c2af0f634f1 ("tty: tty_io: use console_list_lock for list synchronization") show_cons_active() calls the .device() method under the console_list_lock, but console_is_registered() tries to acquire console_list_lock as well, causing a deadlock. It should not be necessary to check console_is_registered() here since the function should not be called in the fist place when the console is not registered. Fixes: 7c2af0f634f1 ("tty: tty_io: use console_list_lock for list synchronization") Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://patch.msgid.link/87ecfzsv6h.fsf@igel.home Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions