]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/IOV: Clarify error message for unbound devices
authorMoritz Fischer <mdf@kernel.org>
Sat, 27 Mar 2021 17:51:40 +0000 (10:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Jun 2021 20:25:38 +0000 (15:25 -0500)
commit795e5d5d6545766b4e9b8ca1c57b298bd842ba9d
tree580ae96d66e8732643fbd95f9ccd293b3749e25e
parent78f0a5f86683713bf30eae653c023ab078a37264
PCI/IOV: Clarify error message for unbound devices

Be more verbose to disambiguate the error case when trying to configure
SR-IOV with no driver bound vs. a driver that does not implement the
.sriov_configure() callback.

Link: https://lore.kernel.org/r/20210327175140.682708-1-mdf@kernel.org
Reported-by: Brian Foley <bpfoley@google.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
drivers/pci/iov.c