Thread (3 messages) flat view 3 messages, 3 authors, 2021-10-13

Re: [PATCH] Bluetooth: Fix debugfs entry leak in hci_register_dev()

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-10-13 12:29:04

Hi Wei,
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 <redacted>
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help