aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Dewar <[email protected]>2020-09-27 14:24:50 +0100
committerKalle Valo <[email protected]>2020-10-01 22:30:10 +0300
commit476c1d3c2e61648ff675f175875740d84e4fa691 (patch)
tree447cd581dd13fc696bdd886b2f74fdd895f32ae9 /tools/perf/scripts/python/stackcollapse.py
parentcd19836a6cea7038fe50c4824629cc7a4418381c (diff)
ath11k: Correctly check errors for calls to debugfs_create_dir()
debugfs_create_dir() returns an ERR_PTR in case of error, but never a null pointer. There are a number of places where error-checking code can accordingly be simplified. Addresses-Coverity: CID 1497150: Memory - illegal accesses (USE_AFTER_FREE) Addresses-Coverity: CID 1497158: Memory - illegal accesses (USE_AFTER_FREE) Addresses-Coverity: CID 1497160: Memory - illegal accesses (USE_AFTER_FREE) Signed-off-by: Alex Dewar <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions