aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2020-04-09 10:18:10 +0300
committerGreg Kroah-Hartman <[email protected]>2020-04-28 19:00:59 +0200
commitc3bf9930921b33edb31909006607e478751a6f5e (patch)
tree16e27b3fac5280ec7405c0a4a86f6be5edb72331 /tools/perf/scripts/python/export-to-postgresql.py
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c (diff)
thunderbolt: Check return value of tb_sw_read() in usb4_switch_op()
The function misses checking return value of tb_sw_read() before it accesses the value that was read. Fix this by checking the return value first. Fixes: b04079837b20 ("thunderbolt: Add initial support for USB4") Signed-off-by: Mika Westerberg <[email protected]> Reviewed-by: Yehezkel Bernat <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions