aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/xarray.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-06-08 14:34:20 +0000
committerAndrew Morton <[email protected]>2024-06-25 05:25:08 +0000
commitcda1c8e0c33d3e06ef8e912ab1b16f00e4d5d088 (patch)
tree3736a1b93612c777c0f46f7f90d4fbd2cb37bdcf /tools/testing/radix-tree/xarray.c
parentmost: remove usage of the deprecated ida_simple_xx() API (diff)
downloadkernel-cda1c8e0c33d3e06ef8e912ab1b16f00e4d5d088.tar.gz
kernel-cda1c8e0c33d3e06ef8e912ab1b16f00e4d5d088.zip
proc: remove usage of the deprecated ida_simple_xx() API
ida_alloc() and ida_free() should be preferred to the deprecated ida_simple_get() and ida_simple_remove(). Note that the upper limit of ida_simple_get() is exclusive, but the one of ida_alloc_max() is inclusive. So a -1 has been added when needed. Link: https://lkml.kernel.org/r/ae10003feb87d240163d0854de95f09e1f00be7d.1717855701.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: Alistar Popple <[email protected]> Cc: Christian Gromm <[email protected]> Cc: Eddie James <[email protected]> Cc: Jeremy Kerr <[email protected]> Cc: Joel Stanley <[email protected]> Cc: Parthiban Veerasooran <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
0 files changed, 0 insertions, 0 deletions