diff options
author | 2024-01-11 22:38:25 +0100 | |
---|---|---|
committer | 2024-03-03 14:17:27 +0100 | |
commit | b568b1504d04491d77de463d14212f5941cff825 (patch) | |
tree | fdc57dee4ee8881bc81832db5f635a95f3fe6d28 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.8-rc2 (diff) | |
download | wireguard-linux-b568b1504d04491d77de463d14212f5941cff825.tar.xz wireguard-linux-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions