Commit fcdeb8c
iommu/arm-smmu-v3: Simplify memory allocation
Use devm_bitmap_zalloc() instead of hand writing it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/598bd905103dcbe5653a54bb0dfb5a8597728214.1644274051.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Will Deacon <will@kernel.org>1 parent 98b6474 commit fcdeb8c
1 file changed
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2911 | 2911 | | |
2912 | 2912 | | |
2913 | 2913 | | |
2914 | | - | |
2915 | | - | |
2916 | | - | |
2917 | | - | |
2918 | | - | |
2919 | | - | |
2920 | 2914 | | |
2921 | 2915 | | |
2922 | | - | |
2923 | 2916 | | |
2924 | 2917 | | |
2925 | | - | |
2926 | 2918 | | |
2927 | 2919 | | |
2928 | 2920 | | |
2929 | 2921 | | |
2930 | | - | |
2931 | | - | |
2932 | | - | |
2933 | | - | |
2934 | | - | |
2935 | | - | |
2936 | | - | |
2937 | | - | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
2938 | 2926 | | |
2939 | | - | |
| 2927 | + | |
2940 | 2928 | | |
2941 | 2929 | | |
2942 | 2930 | | |
| |||
0 commit comments