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
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(-)
2 matches
Mail list logo