Skip to content

Bluetooth: fix debugfs registration

Johan Hovold linux-bluetooth lkml netdev stable 2 versions – Applied

Status from this message: This series was applied to bluetooth/bluetooth-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/22 patches 1 replyApplied 2/2
  2. v1 posting 1/22 patches 6 repliesSuperseded

Patches in v1 posting 2/2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2Bluetooth: fix debugfs registrationinclude/net/bluetooth/hci.h net/bluetooth/hci_sync.c+4 -01 replyApplied
2/2Bluetooth: hci_qca: fix debugfs registrationdrivers/bluetooth/hci_qca.c+5 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RESEND 0/2] Bluetooth: fix debugfs registration

The HCI controller debugfs interface is created during setup or when a controller is configured, but there is nothing preventing a controller from being configured multiple times (e.g. by setting the device address), which results in a host of errors in the logs:

debugfs: File 'features' in directory 'hci0' already present!
debugfs: File 'manufacturer' in directory 'hci0' already present!
debugfs: File 'hci_version' in directory 'hci0' already present!
...
debugfs: File 'quirk_simultaneous_discovery' in directory 'hci0' already present!

The Qualcomm driver suffers from a related problem for controllers with non-persistent setup.

Johan

Johan Hovold (2):
Bluetooth: fix debugfs registration
Bluetooth: hci_qca: fix debugfs registration

 drivers/bluetooth/hci_qca.c | 6 +++++-
 include/net/bluetooth/hci.h | 1 +
 net/bluetooth/hci_sync.c    | 3 +++
 3 files changed, 9 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.3