diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-12 11:20:16 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-07-21 22:49:43 +0200 |
commit | 3ac020e0ca8beff9b695f9866a06d50c09c602d6 (patch) | |
tree | df850544e807b5e90021fc55045871e3f2387d53 /drivers/net | |
parent | PCI: Switch msix_program_entries() to use pci_msix_desc_addr() (diff) | |
download | linux-3ac020e0ca8beff9b695f9866a06d50c09c602d6.tar.xz linux-3ac020e0ca8beff9b695f9866a06d50c09c602d6.zip |
PCI: Make the "entries" argument to pci_enable_msix() optional
The "entries" argument isn't needed if the list of entries does not contain
any holes. Make it optional so that we can avoid the need to allocate a
msix_entry structure for this (common) case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alexander Gordeev <agordeev@redhat.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions