* [PATCH] usbip: Reduce CONNRESET message noise in dmesg from stub
@ 2026-01-21 16:37 Shuah Khan
2026-01-21 20:38 ` Sergey Shtylyov
2026-01-22 11:03 ` Ignacio Hernández-Ros
0 siblings, 2 replies; 4+ messages in thread
From: Shuah Khan @ 2026-01-21 16:37 UTC (permalink / raw)
To: valentina.manea.m, shuah, i, gregkh, ignacio
Cc: Shuah Khan, linux-usb, linux-kernel
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>
---
drivers/usb/usbip/stub_tx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
index 55919c3762ba..4cae452bfadb 100644
--- a/drivers/usb/usbip/stub_tx.c
+++ b/drivers/usb/usbip/stub_tx.c
@@ -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:
--
2.51.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] usbip: Reduce CONNRESET message noise in dmesg from stub
2026-01-21 16:37 [PATCH] usbip: Reduce CONNRESET message noise in dmesg from stub Shuah Khan
@ 2026-01-21 20:38 ` Sergey Shtylyov
2026-01-21 22:00 ` Shuah
2026-01-22 11:03 ` Ignacio Hernández-Ros
1 sibling, 1 reply; 4+ messages in thread
From: Sergey Shtylyov @ 2026-01-21 20:38 UTC (permalink / raw)
To: Shuah Khan, valentina.manea.m, shuah, i, gregkh, ignacio
Cc: linux-usb, linux-kernel
On 1/21/26 7:37 PM, Shuah Khan wrote:
> 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>
> ---
> drivers/usb/usbip/stub_tx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
> index 55919c3762ba..4cae452bfadb 100644
> --- a/drivers/usb/usbip/stub_tx.c
> +++ b/drivers/usb/usbip/stub_tx.c
> @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] usbip: Reduce CONNRESET message noise in dmesg from stub
2026-01-21 20:38 ` Sergey Shtylyov
@ 2026-01-21 22:00 ` Shuah
0 siblings, 0 replies; 4+ messages in thread
From: Shuah @ 2026-01-21 22:00 UTC (permalink / raw)
To: Sergey Shtylyov, valentina.manea.m, shuah, i, gregkh, ignacio
Cc: linux-usb, linux-kernel, Shuah Khan
On 1/21/26 13:38, Sergey Shtylyov wrote:
> On 1/21/26 7:37 PM, Shuah Khan wrote:
>
>> 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>
>> ---
>> drivers/usb/usbip/stub_tx.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
>> index 55919c3762ba..4cae452bfadb 100644
>> --- a/drivers/usb/usbip/stub_tx.c
>> +++ b/drivers/usb/usbip/stub_tx.c
>> @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] usbip: Reduce CONNRESET message noise in dmesg from stub
2026-01-21 16:37 [PATCH] usbip: Reduce CONNRESET message noise in dmesg from stub Shuah Khan
2026-01-21 20:38 ` Sergey Shtylyov
@ 2026-01-22 11:03 ` Ignacio Hernández-Ros
1 sibling, 0 replies; 4+ messages in thread
From: Ignacio Hernández-Ros @ 2026-01-22 11:03 UTC (permalink / raw)
To: Shuah Khan; +Cc: valentina.manea.m, shuah, i, gregkh, linux-usb, linux-kernel
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
> El 21 ene 2026, a las 17:37, Shuah Khan <skhan@linuxfoundation.org> escribió:
>
> 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>
> ---
> drivers/usb/usbip/stub_tx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
> index 55919c3762ba..4cae452bfadb 100644
> --- a/drivers/usb/usbip/stub_tx.c
> +++ b/drivers/usb/usbip/stub_tx.c
> @@ -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:
> --
> 2.51.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-01-22 11:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21 16:37 [PATCH] usbip: Reduce CONNRESET message noise in dmesg from stub Shuah Khan
2026-01-21 20:38 ` Sergey Shtylyov
2026-01-21 22:00 ` Shuah
2026-01-22 11:03 ` Ignacio Hernández-Ros
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox