aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/crashlog.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-12-14 21:50:55 +0100
committerSteve French <stfrench@microsoft.com>2024-01-09 12:52:33 -0600
commitebfee7ad2722f84064d241b5319a7085b881b584 (patch)
tree1865562aef3e82378e74d8b931815d1df58e8b98 /drivers/platform/x86/intel/pmt/crashlog.c
parentb6e9a44e99603fe10e1d78901fdd97681a539612 (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 'drivers/platform/x86/intel/pmt/crashlog.c')
0 files changed, 0 insertions, 0 deletions