[PATCHv3 0/2] Fixing device registration bugs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>

Changes:
	* v3: Added missing HCI_BREDR_ID

It does make sense to use bitmask marking used device ids.
This approach is used in device name allocation in many places
like:
..
drivers/infiniband/core/device.c <<alloc_name>>
net/core/dev.c <<__dev_alloc_name>>
net/core/sock.c <<assign_proto_idx>>
..

Andrei Emeltchenko (2):
  Bluetooth: Fix registering hci with duplicate name
  Bluetooth: Fix debug printing unallocated name

 include/net/bluetooth/hci.h |    3 +++
 net/bluetooth/hci_core.c    |   32 ++++++++++++++++++--------------
 2 files changed, 21 insertions(+), 14 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux