summaryrefslogtreecommitdiffstats
path: root/drivers/usb/usbip
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-14 22:41:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-18 03:00:46 +0200
commit083d5ad1a924e79ecf92be37cce9f1efa5c1d240 (patch)
tree930a00702bc747ab7047eff318ae469a2a727d8b /drivers/usb/usbip
parentusb: musb: sunxi: Remove bogus "Frees glue" comment (diff)
downloadlinux-083d5ad1a924e79ecf92be37cce9f1efa5c1d240.tar.xz
linux-083d5ad1a924e79ecf92be37cce9f1efa5c1d240.zip
usbip: rate limit get_frame_number message
It's annoying to constantly see the same "Not yet implemented" message over and over with nothing able to be done about it, so rate limit it for now to keep user's logs "clean". Reported-by: Lars Täuber <lars.taeuber@web.de> Tested-by: Lars Täuber <lars.taeuber@web.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip')
-rw-r--r--drivers/usb/usbip/vhci_hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index fca51105974e..2e0450bec1b1 100644
--- a/drivers/usb/usbip/vhci_hcd.c
+++ b/drivers/usb/usbip/vhci_hcd.c
@@ -941,7 +941,7 @@ static void vhci_stop(struct usb_hcd *hcd)
static int vhci_get_frame_number(struct usb_hcd *hcd)
{
- pr_err("Not yet implemented\n");
+ dev_err_ratelimited(&hcd->self.root_hub->dev, "Not yet implemented\n");
return 0;
}