aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-12-13 13:51:27 +0300
committerKalle Valo <[email protected]>2019-12-18 19:55:32 +0200
commitc76fa846b0e1a1cdf6fa1e04c0c3985411cc973d (patch)
tree67df4b35b785c0b3bede44a026b9d4d8c628d7fb /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentcd21c827a1555276325880ea431a6a27a9186e30 (diff)
ath11k: checking for NULL vs IS_ERR()
The ath11k_ce_alloc_ring() function returns error pointers on error, not NULL. The rest of the driver assumes that "pipe->src_ring" is either valid or NULL so this patch introduces a temporary varaible to avoid leaving it as an error pointer. Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions