Skip to content

Commit 083d5ad

Browse files
committed
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 <[email protected]> Tested-by: Lars Täuber <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1c4bf5a commit 083d5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/usbip/vhci_hcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ static void vhci_stop(struct usb_hcd *hcd)
941941

942942
static int vhci_get_frame_number(struct usb_hcd *hcd)
943943
{
944-
pr_err("Not yet implemented\n");
944+
dev_err_ratelimited(&hcd->self.root_hub->dev, "Not yet implemented\n");
945945
return 0;
946946
}
947947

0 commit comments

Comments
 (0)