aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-01-14 16:15:34 +0100
committerRodrigo Vivi <[email protected]>2024-04-14 15:09:18 -0400
commit2af231e1b8f374895d5d6db2517804c4848d3161 (patch)
tree155b8488a2452dc5a02839e482301432422d87bc /lib/memory-notifier-error-inject.c
parent3563d855312acedcd445a3767f0cb07906f1c26f (diff)
drm/i915/guc: 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_range() is inclusive. So a -1 has been added when needed. Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/7108c1871c6cb08d403c4fa6534bc7e6de4cb23d.1705245316.git.christophe.jaillet@wanadoo.fr Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions