All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.de>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org
Subject: USB: cdc-acm: Do not log urb submission errors on disconnect
Date: Mon, 15 Jan 2018 11:07:55 +0100	[thread overview]
Message-ID: <1516010875.21945.2.camel@suse.de> (raw)

Am Sonntag, den 14.01.2018, 16:09 +0100 schrieb Hans de Goede:
> When disconnected sometimes the cdc-acm driver logs errors like these:
> 
> [20278.039417] cdc_acm 2-2:2.1: urb 9 failed submission with -19
> [20278.042924] cdc_acm 2-2:2.1: urb 10 failed submission with -19
> [20278.046449] cdc_acm 2-2:2.1: urb 11 failed submission with -19
> [20278.049920] cdc_acm 2-2:2.1: urb 12 failed submission with -19
> [20278.053442] cdc_acm 2-2:2.1: urb 13 failed submission with -19
> [20278.056915] cdc_acm 2-2:2.1: urb 14 failed submission with -19
> [20278.060418] cdc_acm 2-2:2.1: urb 15 failed submission with -19
> 
> Silence these by not logging errors when the result is -ENODEV.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2018-01-15 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-15 10:07 Oliver Neukum [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-14 15:09 USB: cdc-acm: Do not log urb submission errors on disconnect Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516010875.21945.2.camel@suse.de \
    --to=oneukum@suse.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.