[PATCH 0/2] firewire: core: use XArray to maintain firewire device nodes

Takashi Sakamoto posted 2 patches 1 year, 6 months ago
drivers/firewire/core-device.c      | 30 ++++++++++++-----------------
drivers/firewire/core-transaction.c |  3 +--
drivers/firewire/core.h             |  3 ++-
3 files changed, 15 insertions(+), 21 deletions(-)
[PATCH 0/2] firewire: core: use XArray to maintain firewire device nodes
Posted by Takashi Sakamoto 1 year, 6 months ago
Hi,

In core function, the instances of fw_device corresponding to firewire device
node in system are maintained by IDR. As of kernel v6.0, IDR has been
superseded by XArray and deprecated.

This series of changes is to obsolete the usage of IDR with XArray.

Takashi Sakamoto (2):
  firewire: core: replace IDR with XArray to maintain fw_device
  firewire: core: use lock in Xarray instead of local R/W semaphore

 drivers/firewire/core-device.c      | 30 ++++++++++++-----------------
 drivers/firewire/core-transaction.c |  3 +--
 drivers/firewire/core.h             |  3 ++-
 3 files changed, 15 insertions(+), 21 deletions(-)

-- 
2.43.0