summaryrefslogtreecommitdiff
path: root/drivers/firewire/ohci.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-08-13 02:52:10 +0300
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-08-13 02:52:10 +0300
commitd9f6c64e03c2fd5bfe8e03f806b8e56d9cf112e4 (patch)
treebce3f4d6fb634100ecc645ec158a32af610a205b /drivers/firewire/ohci.c
parent6ec9e9260fe405a667e0dfbdf706483d648a8779 (diff)
downloadlinux-d9f6c64e03c2fd5bfe8e03f806b8e56d9cf112e4.tar.xz
firewire: core: use xarray instead of idr to maintain client resource
In core function, the instances of some client resource structures are maintained by IDR. As of kernel v6.0, IDR has been superseded by XArray and deprecated. This commit replaces the usage of IDR with XArray to maintain the resource instances. The instance of XArray is allocated per client with XA_FLAGS_ALLOC1 so that the index of allocated entry is greater than zero and returns to user space client as handle of the resource. Link: https://lore.kernel.org/r/20240812235210.28458-6-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire/ohci.c')
0 files changed, 0 insertions, 0 deletions