diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-10-13 16:55:46 +0800 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2021-10-13 14:28:20 +0200 |
| commit | 5a4bb6a8e981d3d0d492aa38412ee80b21033177 (patch) | |
| tree | 207956405aba242bb82e2246c9d9d1fb2893a72c /tools/perf/scripts/python/stackcollapse.py | |
| parent | Bluetooth: btusb: Fix application of sizeof to pointer (diff) | |
| download | linux-5a4bb6a8e981d3d0d492aa38412ee80b21033177.tar.gz linux-5a4bb6a8e981d3d0d492aa38412ee80b21033177.zip | |
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 <weiyongjun1@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
