diff options
author | Dennis Chen <[email protected]> | 2016-12-01 10:15:04 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-02-10 16:15:08 -0600 |
commit | 948b7620c15411444167a62cfc14cdd4b0e44682 (patch) | |
tree | 9bdb363fce0c066a073a7a827b9746604a50eff2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3674cc49da9a8fc55bf1dec2ab03a66c77f2dcdf (diff) |
PCI/MSI: Return -ENOSPC if pci_enable_msi_range() can't get enough vectors
If device doesn't support as many MSI vectors as the driver requested, we
previously returned -EINVAL from __pci_enable_msi_range() and
pci_enable_msi_range(). In other similar situations in both
__pci_enable_msi_range() and __pci_enable_msix_range(), we returned
-ENOSPC.
Return -ENOSPC from __pci_enable_msi_range() so we do it consistently.
[bhelgaas: changelog]
Signed-off-by: Dennis Chen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: Tejun Heo <[email protected]>
CC: Christoph Hellwig <[email protected]>
CC: Tom Long Nguyen <[email protected]>
CC: Greg Kroah-Hartman <[email protected]>
CC: Marc Zyngier <[email protected]>
CC: Lorenzo Pieralisi <[email protected]>
CC: Steve Capper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions