summaryrefslogtreecommitdiff
path: root/tools/usb/usbip/src/usbip_attach.c
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2023-05-08 17:21:20 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-29 15:11:21 +0100
commit0c7f35d26b1dc45ab27e3ea8ff7f6a8a88a18174 (patch)
tree71463588309907af9480a3ccdac6f02764782450 /tools/usb/usbip/src/usbip_attach.c
parentb4a4be8471846d96b0ac52a0e9e7d48005cc97e2 (diff)
usbip: give a more helpful error message if vhdi_hcd isn't loaded
Suggest loading vhdi_hcd if it's not loaded to make error message less opaque Signed-off-by: Galen Guyer <galen@galenguyer.com> Reviewed-By: Hongren Zheng <i@zenithal.me> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20230508212120.435329-1-galen@galenguyer.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/usb/usbip/src/usbip_attach.c')
-rw-r--r--tools/usb/usbip/src/usbip_attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/usb/usbip/src/usbip_attach.c b/tools/usb/usbip/src/usbip_attach.c
index b4aeb9f1f493..531a415538f9 100644
--- a/tools/usb/usbip/src/usbip_attach.c
+++ b/tools/usb/usbip/src/usbip_attach.c
@@ -86,7 +86,7 @@ static int import_device(int sockfd, struct usbip_usb_device *udev)
rc = usbip_vhci_driver_open();
if (rc < 0) {
- err("open vhci_driver");
+ err("open vhci_driver (is vhci_hcd loaded?)");
goto err_out;
}