]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Allocate dma_alias_mask with bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 Aug 2018 10:32:36 +0000 (13:32 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Sep 2018 21:35:14 +0000 (16:35 -0500)
commitc6635792737b881021ead417b281067d56ed3380
tree5dbd6dfe1ca0050a7523a3374ab44a07d0ca2b8e
parent1ccce46c5e8b8a0d2606fb8bb72bff069ffdc3ab
PCI: Allocate dma_alias_mask with bitmap_zalloc()

Switch to bitmap_zalloc() to show clearly what we are allocating.  Besides
that it returns pointer of bitmap type ("unsigned long *") instead of the
opaque "void *".

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
drivers/pci/probe.c