diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2013-04-05 00:41:01 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-06 02:38:30 +0400 |
| commit | ae3759c2573031f1306496c6f9f32f20e86f03aa (patch) | |
| tree | f698d8ddb581e35e768187ca9c1501f3f03cf471 /tools/perf/scripts/python | |
| parent | 64dc9e2e7320f079b97c46b106133b58b8e18d40 (diff) | |
| download | linux-ae3759c2573031f1306496c6f9f32f20e86f03aa.tar.xz | |
USB: io_ti, stop dereferencing potential NULL
tty_port_tty_get might return a tty which is NULL. But it is
dereferenced unconditionally in edge_send. Stop dereferencing that by
sending usb_serial_port pointer around.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
