]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: iproc: Use bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 4 Jul 2022 13:15:03 +0000 (15:15 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Jul 2022 20:02:56 +0000 (15:02 -0500)
commitc490cf7cb56230353fc10291fc598cf94c46b305
tree716a9bbbfa769f9080ec1ca16f20e4ba7d842abb
parentf040cca4b0da0180bf9de9141ef5c95f60f85182
PCI: iproc: Use bitmap API to allocate bitmaps

Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.

It is less verbose and it improves the semantic.

Link: https://lore.kernel.org/r/d839a951358ceb447226dc776590a2a38f3e3f9d.1656940469.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
drivers/pci/controller/pcie-iproc-msi.c