Re: [PATCH 0/5] firewire: core: use XArray to maintain client resources
Brought to you by:
aeb,
bencollins
From: Takashi S. <o-t...@sa...> - 2024-08-14 00:12:21
|
On Tue, Aug 13, 2024 at 08:52:05AM +0900, Takashi Sakamoto wrote: > Hi, > > In core function, the instances of several types of client resources > are maintained by IDR, and the index value of each resource is passed to > user space application as handle. 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 (5): > firewire: core: minor code refactoring to release client resource > firewire: core: add helper functions to convert to parent resource > structure > firewire: core: add helper function to detect data of iso resource > structure > firewire: core: code refactoring to use idr_for_each_entry() macro > instead of idr_for_each() function > firewire: core: use xarray instead of idr to maintain client resource > > drivers/firewire/core-cdev.c | 170 +++++++++++++++++++---------------- > drivers/firewire/core.h | 1 - > 2 files changed, 94 insertions(+), 77 deletions(-) Applied to for-next branch. Regards Takashi Sakamoto |