]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usbip: Reduce CONNRESET message noise in dmesg from stub
authorShuah Khan <skhan@linuxfoundation.org>
Wed, 21 Jan 2026 22:51:56 +0000 (15:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 16:16:46 +0000 (17:16 +0100)
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>
drivers/usb/usbip/stub_tx.c

index 55919c3762ba1d858aaa6fac38ef88ad999e6fbd..cd92d9fac3274ee9bf43051ca0a0e0959e65e7f2 100644 (file)
@@ -55,8 +55,8 @@ void stub_complete(struct urb *urb)
                         "stopped by a call to usb_kill_urb() because of cleaning up a virtual connection\n");
                return;
        case -ECONNRESET:
-               dev_info(&urb->dev->dev,
-                        "unlinked by a call to usb_unlink_urb()\n");
+               dev_dbg(&urb->dev->dev,
+                       "unlinked by a call to usb_unlink_urb()\n");
                break;
        case -EPIPE:
                dev_info(&urb->dev->dev, "endpoint %d is stalled\n",