aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2018-11-15 16:05:02 -0700
committerJens Axboe <[email protected]>2018-11-15 16:05:02 -0700
commitdb29eb059cdc571f9d75cec4a41b9884b3b8286a (patch)
tree9ef51b7c98379b2847600d2a6d48b25ea535c41a /include/linux
parente815f404afdb70beefe2ffd0d767bf3785985869 (diff)
nvme: fix handling of EINVAL on pci_alloc_irq_vectors_affinity()
At least on SPARC, if MSI/MSI-X isn't supported, we get EINVAL if we ask for more than one vector. This isn't covered by our ENOSPC check. If we get EINVAL, decrease our ask to just one vector, instead of bailing out in error. Fixes: 3b6592f70ad7 ("nvme: utilize two queue maps, one for reads and one for writes") Reported-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions