diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-12 18:20:16 +0900 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-07-21 15:49:43 -0500 |
commit | 3ac020e0ca8beff9b695f9866a06d50c09c602d6 (patch) | |
tree | df850544e807b5e90021fc55045871e3f2387d53 /Documentation/PCI | |
parent | 12eb21de1f26233ad195ffe991697d61790f4193 (diff) | |
download | lwn-3ac020e0ca8beff9b695f9866a06d50c09c602d6.tar.gz lwn-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 'Documentation/PCI')
0 files changed, 0 insertions, 0 deletions