diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-06-08 02:09:01 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-07-21 01:22:16 +0300 |
commit | 30e23b711c7b92dea664e61c3eb4b2cdc4b262e9 (patch) | |
tree | 1a00b443b1f9d662d9444503940cdadc59483d16 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0356b23bcc347d4020f2883ad083ab54e573e214 (diff) | |
download | linux-30e23b711c7b92dea664e61c3eb4b2cdc4b262e9.tar.xz |
fm10k: return proper error code when pci_enable_msix_range fails
The pci_enable_msix_range() function returns a positive value of the
number of allocated vectors if it succeeds. On failure it returns
a negative error code. Return this code properly so that the error
message printed by the driver will show the actual error code instead of
being masked by -ENOMEM.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions