OpenCloudOS-Kernel/drivers/tty/serial/jsm
Guilherme G. Piccoli e50af488dd tty: serial: jsm: Add one check against NULL pointer dereference
All calls to neo_copy_data_from_uart_to_queue() are safeguarded
against NULL dereference of its parameter, except the one that
this patch changes.

That said, let's play safe and check for NULL in this case too.

Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-09 16:37:03 +01:00
..
Makefile drivers: serial: jsm: Add the Classic board implementation 2014-11-06 15:17:34 -08:00
jsm.h tty: serial: Remove redundant license text 2017-11-08 13:08:12 +01:00
jsm_cls.c tty: serial: Remove redundant license text 2017-11-08 13:08:12 +01:00
jsm_driver.c tty: serial: Remove redundant license text 2017-11-08 13:08:12 +01:00
jsm_neo.c tty: serial: jsm: Add one check against NULL pointer dereference 2018-01-09 16:37:03 +01:00
jsm_tty.c tty: serial: jsm: Remove unnecessary NULL checks 2018-01-09 16:37:03 +01:00