]> git.baikalelectronics.ru Git - kernel.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)
commit2891f27b13021ab3056fd4086a758ddcac958cc2
tree5dbd6dfe1ca0050a7523a3374ab44a07d0ca2b8e
parent73e26cc66987b75fd707e3696ec0148b0ef824d7
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