[PATCH 0/2] firewire: core: use XArray to maintain firewire device nodes
From: Takashi Sakamoto
Date: Sun Aug 11 2024 - 21:43:05 EST
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