diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-04-09 18:56:35 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 09:26:55 -0700 |
commit | af224ca2df297440448b9d407d21b50982c6d532 (patch) | |
tree | 768c0bc31d6cab24ff46f0d667882cfd4e0213cb /arch/m32r/kernel/process.c | |
parent | 9ed19428a51d53477e2b79be3303fa08f8575749 (diff) |
serial: core: Prevent unsafe uart port access, part 3
For tty operations which may expect uart port to have been removed
but still have other necessary work to accomplish, check for NULL
uart port; specifically uart_close(), uart_hangup() and sub-functions
(uart_shutdown() and uart_port_shutdown()).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m32r/kernel/process.c')
0 files changed, 0 insertions, 0 deletions