public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] USB: serial: kl5kusb105: fix open error paths
@ 2016-11-29 15:55 Johan Hovold
  2016-11-29 15:55 ` [PATCH 1/2] USB: serial: kl5kusb105: fix open error path Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johan Hovold @ 2016-11-29 15:55 UTC (permalink / raw)
  To: linux-usb; +Cc: Pan Bian, linux-kernel, Johan Hovold

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-30 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29 15:55 [PATCH 0/2] USB: serial: kl5kusb105: fix open error paths Johan Hovold
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox