Re: [PATCH] tty/serial: Skip 'NULL' char after console break when sysrq enabled

From: David Miller
Date: Thu Dec 24 2015 - 11:43:53 EST


From: Vijay Kumar <vijay.ac.kumar@xxxxxxxxxx>
Date: Wed, 23 Dec 2015 10:55:33 -0800

> 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: Vijay Kumar <vijay.ac.kumar@xxxxxxxxxx>
> Acked-by: Karl Volz <karl.volz@xxxxxxxxxx>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/