diff options
author | Wei Yongjun <[email protected]> | 2021-10-13 16:55:46 +0800 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2021-10-13 14:28:20 +0200 |
commit | 5a4bb6a8e981d3d0d492aa38412ee80b21033177 (patch) | |
tree | 207956405aba242bb82e2246c9d9d1fb2893a72c /tools/perf/scripts/python/check-perf-trace.py | |
parent | dc1650fc94a8566fb89f3fd14a26d1cec7865f16 (diff) |
Bluetooth: Fix debugfs entry leak in hci_register_dev()
Fault injection test report debugfs entry leak as follows:
debugfs: Directory 'hci0' with parent 'bluetooth' already present!
When register_pm_notifier() failed in hci_register_dev(), the debugfs
create by debugfs_create_dir() do not removed in the error handing path.
Add the remove debugfs code to fix it.
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions