[PATCH 0/2] firewire: core: use XArray to maintain firewire device nodes
Brought to you by:
aeb,
bencollins
From: Takashi S. <o-t...@sa...> - 2024-08-12 01:43:08
|
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 |