Skip to content

Commit 7fa47c1

Browse files
shuahkhgregkh
authored andcommitted
usbip: Reduce CONNRESET message noise in dmesg from stub
stub_complete() prints informational messages for each urb unlink filling dmesg. Change the message to dev_dbg() similar to vhci reports the CONNRESET condition. Reported-by: Ignacio Hernandez-Ros <ignacio@hernandez-ros.com> Closes: https://lore.kernel.org/all/0101019b92e81c20-09906fb4-d5e8-40a6-9192-ab693eef4179-000000@us-west-2.amazonses.com/ Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://patch.msgid.link/20260121225157.34635-1-skhan@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 65c4b31 commit 7fa47c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/usb/usbip/stub_tx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ void stub_complete(struct urb *urb)
5555
"stopped by a call to usb_kill_urb() because of cleaning up a virtual connection\n");
5656
return;
5757
case -ECONNRESET:
58-
dev_info(&urb->dev->dev,
59-
"unlinked by a call to usb_unlink_urb()\n");
58+
dev_dbg(&urb->dev->dev,
59+
"unlinked by a call to usb_unlink_urb()\n");
6060
break;
6161
case -EPIPE:
6262
dev_info(&urb->dev->dev, "endpoint %d is stalled\n",

0 commit comments

Comments
 (0)