Thread (3 messages) 3 messages, 3 authors, 2021-10-18

Re: [PATCH] iommu/tegra-smmu: Use devm_bitmap_zalloc when applicable

From: Thierry Reding <hidden>
Date: 2021-10-07 18:03:03
Also in: kernel-janitors, linux-iommu, lkml

On Sun, Sep 26, 2021 at 03:07:18PM +0200, Christophe JAILLET wrote:
'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 <redacted>
---
 drivers/iommu/tegra-smmu.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Acked-by: Thierry Reding <redacted>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help