PCI: Print more info in sriov_enable() error message
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 25 Mar 2015 08:23:42 +0000 (16:23 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 31 Mar 2015 02:02:35 +0000 (13:02 +1100)
commit68f8e9fa56ce6b5cb18323e8d8fa536fee0f89ca
treeb4cd2a2baf1b1053d1f49fcb668063aa04b8cd4a
parentc6406d8fbb014bebdfb5bf3c244548958aec7379
PCI: Print more info in sriov_enable() error message

If we don't have space for all the bus numbers required to enable VFs,
print the largest bus number required and the range available.

No functional change; improved error message only.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/pci/iov.c