public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: linux-usb@vger.kernel.org
Cc: Pan Bian <bianpan2016@163.com>,
	linux-kernel@vger.kernel.org, Johan Hovold <johan@kernel.org>
Subject: [PATCH 0/2] USB: serial: kl5kusb105: fix open error paths
Date: Tue, 29 Nov 2016 16:55:00 +0100	[thread overview]
Message-ID: <1480434902-12357-1-git-send-email-johan@kernel.org> (raw)

Pan Bian found an issue with the kl5kusb105 open error handling, which
would not abort an open attempt when a vendor command to "enable read"
failed. 

Turns out there were more issues with this function, specifically any
urbs submitted would not be killed before returning on failures to
retrieve the line status.

I fixed up the latter and rebased the Pan Bian's patch on top.

Johan


Johan Hovold (1):
  USB: serial: kl5kusb105: fix open error path

Pan Bian (1):
  USB: serial: kl5kusb105: abort on open exception path

 drivers/usb/serial/kl5kusb105.c | 35 ++++++++++++++++++++++++++---------
 1 file changed, 26 insertions(+), 9 deletions(-)

-- 
2.7.3

             reply	other threads:[~2016-11-29 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 15:55 Johan Hovold [this message]
2016-11-29 15:55 ` [PATCH 1/2] USB: serial: kl5kusb105: fix open error path Johan Hovold
2016-11-29 15:55 ` [PATCH 2/2] USB: serial: kl5kusb105: abort on open exception path Johan Hovold
2016-11-30 10:09 ` [PATCH 0/2] USB: serial: kl5kusb105: fix open error paths Johan Hovold

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=1480434902-12357-1-git-send-email-johan@kernel.org \
    --to=johan@kernel.org \
    --cc=bianpan2016@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox