diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-14 22:41:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-18 03:00:46 +0200 |
commit | 083d5ad1a924e79ecf92be37cce9f1efa5c1d240 (patch) | |
tree | 930a00702bc747ab7047eff318ae469a2a727d8b /drivers/usb/usbip | |
parent | usb: musb: sunxi: Remove bogus "Frees glue" comment (diff) | |
download | linux-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.c | 2 |
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; } |