Skip to contentSkip to conversation

usbip: Reduce CONNRESET message noise in dmesg from stub

PATCH New Shuah Khan 1 participant 1 message Jan 21

Subsystems (2)
lore
Share & tools
lore

Shuah Khan

author maintainer
#0 lore raw

PATCH v2 1/1 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.

---

v2 addresses review comment - align message to the start

 drivers/usb/usbip/stub_tx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/usb/usbip/stub_tx.c +2 -2
index 55919c3762ba..cd92d9fac327 100644
@@ -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",
Signature · 1 line
2.51.0