Re: [PATCH] PCI/IOV: Clarify error message for unbound devices

2021-03-07 Thread Krzysztof Wilczyński
Hi Moritz, [...] > + /* is PF driver loaded */ > + if (!pdev->driver) { > + pci_info(pdev, "No driver bound to device. Cannot configure > SRIOV\n"); > + ret = -ENOENT; > + goto exit; > + } [...] Thank you! Reviewed-by: Krzysztof Wilczyński

[PATCH] PCI/IOV: Clarify error message for unbound devices

2021-01-08 Thread Moritz Fischer
Be more verbose to disambiguate the error case when trying to configure SRIOV with no driver bound vs. a driver that does not implement the SRIOV callback. Reported-by: Brian Foley Signed-off-by: Moritz Fischer --- drivers/pci/iov.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)