summaryrefslogtreecommitdiffstats
path: root/drivers/tc/tc.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-01-11 22:38:25 +0100
committerWim Van Sebroeck <wim@linux-watchdog.org>2024-03-03 14:17:27 +0100
commitb568b1504d04491d77de463d14212f5941cff825 (patch)
treefdc57dee4ee8881bc81832db5f635a95f3fe6d28 /drivers/tc/tc.c
parent41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff)
downloadlinux-stable-b568b1504d04491d77de463d14212f5941cff825.tar.gz
linux-stable-b568b1504d04491d77de463d14212f5941cff825.tar.bz2
linux-stable-b568b1504d04491d77de463d14212f5941cff825.zip
watchdog: core: 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()/ida_alloc_max() is inclusive. So a -1 has been added when needed. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/bc5b82db59ccac69f2612ba104e2f5100401a862.1705009009.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/tc/tc.c')
0 files changed, 0 insertions, 0 deletions