PCI/MSI: Return -ENOSYS for unimplemented interfaces, not -1
authorAlexander Gordeev <agordeev@redhat.com>
Mon, 16 Dec 2013 08:34:57 +0000 (09:34 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 20 Dec 2013 16:45:05 +0000 (09:45 -0700)
commit8ec5db6b20c860ddd1311c794b38c98ce86ac7ae
tree1d662f224548eebd7bf4402d67439e679da65fc9
parent2adc7907bac2c72535894732c4b41f9210f9e577
PCI/MSI: Return -ENOSYS for unimplemented interfaces, not -1

Suggested-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
include/linux/pci.h