From patchwork Tue Apr 30 14:37:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 10923729 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4077292A for ; Tue, 30 Apr 2019 14:37:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EDE128915 for ; Tue, 30 Apr 2019 14:37:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20DD7288F8; Tue, 30 Apr 2019 14:37:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC639288F8 for ; Tue, 30 Apr 2019 14:37:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727617AbfD3OhP (ORCPT ); Tue, 30 Apr 2019 10:37:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:53154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbfD3OhP (ORCPT ); Tue, 30 Apr 2019 10:37:15 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B90E120835; Tue, 30 Apr 2019 14:37:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556635034; bh=jskeg3SR1dgm17UY2N0VqSC0ev0vGZ156lqX+0VWeR8=; h=Date:From:To:Cc:Subject:From; b=vkg8t/v/Towx7Q0H6mlUsT7npsrE79pCepPbclSLHC2JCqkbbAfjEYrKM4IVXKmwi f7IxfWM3XH8a66t3D8ldusu44erx6Jc9qdLGLMZAytQPheuwIVpL6fTXmwhFZYJkYu Ifmshnrde1dWV8yrArigFkSM++rGRo6rtH8RAceU= Date: Tue, 30 Apr 2019 16:37:11 +0200 From: Greg KH To: Linus Torvalds Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [GIT PULL] USB fixes for 5.1-rc8 Message-ID: <20190430143711.GA24385@kroah.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The following changes since commit 79a3aaa7b82e3106be97842dedfd8429248896e6: Linux 5.1-rc3 (2019-03-31 14:39:29 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.1-rc8 for you to fetch changes up to c114944d7d67f24e71562fcfc18d550ab787e4d4: USB: w1 ds2490: Fix bug caused by improper use of altsetting array (2019-04-25 11:11:41 +0200) ---------------------------------------------------------------- USB fixes for 5.1-rc8/final Here are some small USB fixes for a bunch of warnings/errors that the syzbot has been finding with it's new-found ability to stress-test the USB layer. All of these are tiny, but fix real issues, and are marked for stable as well. All of these have had lots of testing in linux-next as well. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Alan Stern (5): USB: core: Fix unterminated string returned by usb_string() USB: dummy-hcd: Fix failure to give back unlinked URBs USB: core: Fix bug caused by duplicate interface PM usage counter USB: yurex: Fix protection fault after device removal USB: w1 ds2490: Fix bug caused by improper use of altsetting array Malte Leip (1): usb: usbip: fix isoc packet num validation in get_pipe Documentation/driver-api/usb/power-management.rst | 14 +++++++++----- drivers/usb/core/driver.c | 13 ------------- drivers/usb/core/message.c | 4 +++- drivers/usb/gadget/udc/dummy_hcd.c | 19 +++++++++++++++---- drivers/usb/misc/yurex.c | 1 + drivers/usb/storage/realtek_cr.c | 13 +++++-------- drivers/usb/usbip/stub_rx.c | 12 +++--------- drivers/usb/usbip/usbip_common.h | 7 +++++++ drivers/w1/masters/ds2490.c | 6 +++--- include/linux/usb.h | 2 -- 10 files changed, 46 insertions(+), 45 deletions(-)