Commit 2a99241
Input: 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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/a885de14beead2cc3c1c946f192b8b178dac696a.1705349930.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>1 parent bc49961 commit 2a99241
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2629 | 2629 | | |
2630 | 2630 | | |
2631 | 2631 | | |
2632 | | - | |
2633 | | - | |
2634 | | - | |
2635 | | - | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
2636 | 2635 | | |
2637 | 2636 | | |
2638 | 2637 | | |
2639 | 2638 | | |
2640 | | - | |
2641 | | - | |
2642 | | - | |
| 2639 | + | |
| 2640 | + | |
2643 | 2641 | | |
2644 | 2642 | | |
2645 | 2643 | | |
| |||
2652 | 2650 | | |
2653 | 2651 | | |
2654 | 2652 | | |
2655 | | - | |
| 2653 | + | |
2656 | 2654 | | |
2657 | 2655 | | |
2658 | 2656 | | |
| |||
0 commit comments