diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-12-14 21:50:55 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-09 12:52:33 -0600 |
commit | ebfee7ad2722f84064d241b5319a7085b881b584 (patch) | |
tree | 1865562aef3e82378e74d8b931815d1df58e8b98 /rust/kernel/task.rs | |
parent | b6e9a44e99603fe10e1d78901fdd97681a539612 (diff) |
ksmbd: 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().
This is less verbose.
Note that the upper limit of ida_simple_get() is exclusive, but the one of
ida_alloc_range() is inclusive. So change a 0xFFFFFFFF into a 0xFFFFFFFE in
order to keep the same behavior.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions