usbip: Reduce CONNRESET message noise in dmesg from stub
Subsystems (2)
Shuah Khan
maintainerPATCH 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.
--- drivers/usb/usbip/stub_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/usbip/stub_tx.c +1 -1
@@ -55,7 +55,7 @@ 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, +dev_dbg (&urb->dev->dev,"unlinked by a call to usb_unlink_urb()\n" );break ;case -EPIPE :
Signature · 1 line
2.51.0
Quoted 16 lines · Shuah Khan
stub_complete()prints informational messages for each urb unlink filling dmesg. Change the message todev_dbg()similar to vhci reports the CONNRESET condition.Reported-by Ignacio Hernandez-Ros <[email protected]>Closes https://lore.kernel.org/all/0101019b92e81c20-09906fb4-d5e8-40a6-9192-ab693eef4179-000000@us-west-2.amazonses.com/ open hereSigned-off-by Shuah Khan <[email protected]>--- drivers/usb/usbip/stub_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/usbip/stub_tx.c +0
-0
drivers/usb/usbip/stub_tx.c void stub_complete(struct urb *urb) · line 59
Quoted 6 lines
drivers/usb/usbip/stub_tx.c +1
-1@@ -55,7 +55,7 @@ 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, +dev_dbg (&urb->dev->dev,"unlinked by a call to usb_unlink_urb()\n" );
Please re-align this line for it to start under & again.
[...]
MBR, Sergey
Shuah
maintainerQuoted 13 lines · Sergey Shtylyov
Quoted 11 lines · Shuah Khan
stub_complete()prints informational messages for each urb unlink filling dmesg. Change the message todev_dbg()similar to vhci reports the CONNRESET condition.Reported-by Ignacio Hernandez-Ros <[email protected]>Closes https://lore.kernel.org/all/0101019b92e81c20-09906fb4-d5e8-40a6-9192-ab693eef4179-000000@us-west-2.amazonses.com/ open hereSigned-off-by Shuah Khan <[email protected]>--- drivers/usb/usbip/stub_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
drivers/usb/usbip/stub_tx.c void stub_complete(struct urb *urb) · line 59
Quoted 11 lines
drivers/usb/usbip/stub_tx.c +1
-1@@ -55,7 +55,7 @@ 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, +dev_dbg (&urb->dev->dev,"unlinked by a call to usb_unlink_urb()\n" );Please re-align this line for it to start under & again.
I missed that - thanks - will do that in v2.
thanks,
-- Shuah
Hi,
I need a couple of days to set up a new RPi hardware and compile kernel with USBIP debug set on.
I don't want to put my infrastructure on risk if anything goes wrong. But I’ll definitively send you the debug information required.
Regards
Ignacio
Quoted 29 lines · Shuah Khan
stub_complete()prints informational messages for each urb unlink filling dmesg. Change the message todev_dbg()similar to vhci reports the CONNRESET condition.Reported-by Ignacio Hernandez-Ros <[email protected]>Closes https://lore.kernel.org/all/0101019b92e81c20-09906fb4-d5e8-40a6-9192-ab693eef4179-000000@us-west-2.amazonses.com/ open hereSigned-off-by Shuah Khan <[email protected]>---
drivers/usb/usbip/stub_tx.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/usbip/stub_tx.c +1
-1@@ -55,7 +55,7 @@ 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, +dev_dbg (&urb->dev->dev,"unlinked by a call to usb_unlink_urb()\n" );break ;case -EPIPE :Signature · 1 line
2.51.0