Thread (6 messages) 6 messages, 3 authors, 2021-11-29

Re: [PATCH] PCI: xgene-msi: Use bitmap_zalloc() when applicable

From: Lorenzo Pieralisi <hidden>
Date: 2021-11-29 17:42:42
Also in: kernel-janitors, linux-pci, lkml

On Sat, 23 Oct 2021 22:02:05 +0200, Christophe JAILLET wrote:
'xgene_msi->bitmap' is a bitmap. So use 'bitmap_zalloc()' to simplify code,
improve the semantic and avoid some open-coded arithmetic in allocator
arguments.

Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
consistency.

[...]
Applied to pci/xgene, thanks!

[1/1] PCI: xgene-msi: Use bitmap_zalloc() when applicable
      https://git.kernel.org/lpieralisi/pci/c/1ed9b961be

Thanks,
Lorenzo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help