Skip to content
Commit 079317a6 authored by Vijay Kumar's avatar Vijay Kumar Committed by David S. Miller
Browse files

tty/serial: Skip 'NULL' char after console break when sysrq enabled



When sysrq is triggered from console, serial driver for SUN hypervisor
console receives a console break and enables the sysrq. It expects a valid
sysrq char following with break. Meanwhile if driver receives 'NULL'
ASCII char then it disables sysrq and sysrq handler will never be invoked.

This fix skips calling uart sysrq handler when 'NULL' is received while
sysrq is enabled.

Signed-off-by: default avatarVijay Kumar <vijay.ac.kumar@oracle.com>
Acked-by: default avatarKarl Volz <karl.volz@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a7c5724b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment