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)
commite9c3bbd68ec7dc5dd986f7270d9233d27b092816
tree580ae96d66e8732643fbd95f9ccd293b3749e25e
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
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