From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757077AbcK2Pzm (ORCPT ); Tue, 29 Nov 2016 10:55:42 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34236 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756638AbcK2PzW (ORCPT ); Tue, 29 Nov 2016 10:55:22 -0500 From: Johan Hovold To: linux-usb@vger.kernel.org Cc: Pan Bian , linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] USB: serial: kl5kusb105: fix open error paths Date: Tue, 29 Nov 2016 16:55:00 +0100 Message-Id: <1480434902-12357-1-git-send-email-johan@kernel.org> X-Mailer: git-send-email 2.7.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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