git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6793099
)
PCI: Rationalize pci_ats_queue_depth() error checking
author
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 17 Jul 2015 20:30:26 +0000
(15:30 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 13 Aug 2015 20:57:22 +0000
(15:57 -0500)
We previously returned -ENODEV for devices that don't support ATS (except
that we always returned 0 for VFs, whether or not they support ATS).
For consistency, always return -EINVAL (not -ENODEV) if the device doesn't
support ATS. Return zero for VFs that support ATS.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
drivers/pci/ats.c
patch
|
blob
|
history
diff --cc
drivers/pci/ats.c
Simple merge