aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2016-09-13 00:23:42 +0300
committerGreg Kroah-Hartman <[email protected]>2016-09-15 12:35:49 +0200
commita5a2b13074fd8d290bad32a5b0a0c5be9f3a84fa (patch)
tree46bc2c52942c37363e17dc750884e0954642ae10 /tools/perf/scripts/python/bin
parent0ae9fdefb6c37237d826d6195e27810ffcc0b6e0 (diff)
serial: core: fix potential NULL pointer dereference
The commit 761ed4a94582 ("tty: serial_core: convert uart_close to use tty_port_close") refactored uart_close() to use tty_port_close(). At the same time it introduced a potential NULL pointer dereference. Rearrange the code to avoid kernel crash. Fixes: 761ed4a94582 ("tty: serial_core: convert uart_close to use tty_port_close") Cc: Rob Herring <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions