[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-12 23:52:20
|
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(-) -- 2.43.0 |