diff options
author | 2017-12-22 14:31:39 -0200 | |
---|---|---|
committer | 2018-01-09 16:37:03 +0100 | |
commit | e50af488dddea7754e581d69bf978356e468845c (patch) | |
tree | 193978b60735a8234130576da1de6688b7e2eb93 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: serial: jsm: Remove unnecessary NULL checks (diff) | |
download | wireguard-linux-e50af488dddea7754e581d69bf978356e468845c.tar.xz wireguard-linux-e50af488dddea7754e581d69bf978356e468845c.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions