aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorWentao Liang <[email protected]>2024-11-07 10:17:56 +0800
committerJakub Kicinski <[email protected]>2024-11-07 11:40:50 -0800
commit71712cf519faeed529549a79559c06c7fc250a15 (patch)
tree9a6b584bb6a75b0ebd089b482eae6f48efefa466 /tools/perf/scripts/python/task-analyzer.py
parentd293958a8595ba566fb90b99da4d6263e14fee15 (diff)
drivers: net: ionic: add missed debugfs cleanup to ionic_probe() error path
The ionic_setup_one() creates a debugfs entry for ionic upon successful execution. However, the ionic_probe() does not release the dentry before returning, resulting in a memory leak. To fix this bug, we add the ionic_debugfs_del_dev() to release the resources in a timely manner before returning. Fixes: 0de38d9f1dba ("ionic: extract common bits from ionic_probe") Signed-off-by: Wentao Liang <[email protected]> Acked-by: Shannon Nelson <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions