diff options
| author | Christophe JAILLET <[email protected]> | 2021-09-26 13:07:18 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2021-10-18 11:39:41 +0000 |
| commit | 89374244a43e51137ade6d22849ef73876f94a2b (patch) | |
| tree | ffcea7f8bb1575a248693f7de4ee04f3b73155d6 /fs/ext4/fast_commit.c | |
| parent | Linux 5.15-rc3 (diff) | |
| download | kernel-89374244a43e51137ade6d22849ef73876f94a2b.tar.gz kernel-89374244a43e51137ade6d22849ef73876f94a2b.zip | |
iommu/tegra-smmu: Use devm_bitmap_zalloc when applicable
'smmu->asids' is a bitmap. So use 'devm_kzalloc()' to simplify code,
improve the semantic of the code and avoid some open-coded arithmetic in
allocator arguments.
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/2c0f4da80c3b5ef83299c651f69a563034c1c6cb.1632661557.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
