commit | 3ac020e0ca8beff9b695f9866a06d50c09c602d6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jul 12 18:20:16 2016 +0900 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Jul 21 15:49:43 2016 -0500 |
tree | df850544e807b5e90021fc55045871e3f2387d53 | |
parent | 12eb21de1f26233ad195ffe991697d61790f4193 [diff] |
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>