Received: by 10.223.185.116 with SMTP id b49csp509124wrg; Sat, 3 Mar 2018 01:15:41 -0800 (PST) X-Google-Smtp-Source: AG47ELvT1jBu7I3BbdY5yf7SOKyMdfR4OmZKVLhEZsn3QoZl9nEcBqWSbR30JIfMh9aF2cDFUo/g X-Received: by 2002:a17:902:2845:: with SMTP id e63-v6mr7715188plb.389.1520068541573; Sat, 03 Mar 2018 01:15:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520068541; cv=none; d=google.com; s=arc-20160816; b=vh9WB8+Gz2nr8O5sStIuaJg7JUDoxKkRzX2Mw+E2vYO3zLE8zF4yQkPCCvxhsC1Pu4 8TJV61c9zw01HYE+ojoiN9b3BvaU7z3AW79IPt3zvE6s7WmP7SdtOJ1TSUmC7hpsAzwV kf4Q52hUkq2/DvReKoAV9g5rgDSgH8e4YQlUdnXSM9JnwK9aVgH/slxB78W3Qwu69jzj 0bZESO+djLQhsi7rNCQPhMkUigRUnpPRhiIt5QZMxWJG7nkA8Vdat2Yus3HM3kSXYGx3 Lx4FlVC/L4RXpEr13BzgY7vt2/xzn52Yaf7WfTOio142RG+XoK0a4xHD6wx/koK6eNyL Bkog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=GByzKZk2HF+E3QjlACTvBgwpBgv4BY5/iB0CzLxWo7k=; b=D87OfxXWc0OozSwzxHjLbgM3TRBajVPpTSoSUvupoCJhROd/XRD6IW0jVIZqgkZqwI tZrJVB/rIvADA6Txj3/NscVUV3semZKQaaMro1Vr67IBxMtRWVhpITB091IFreI7YZD0 McGGKDFUoMfkISZn68c3fsSPwhlz6FCqaGlw63mzZCEiT8RGSTCnd6pbV/4Yi//9xu42 U09u4LnOC9sNXBcLHM1+ZVYZEZe2bfgrBYTOJ6cgXIzEK3tx1rLR7bRS8uqECa8cSbk9 q9LiDf5aER2YdxR2hxKdxsA+e569RIVwKEfuXiSAXNGqDQgnhl6RB2XkHOoxF5s5arUv 2Waw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j125si5277252pgc.697.2018.03.03.01.15.26; Sat, 03 Mar 2018 01:15:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751937AbeCCJOq (ORCPT + 99 others); Sat, 3 Mar 2018 04:14:46 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:32861 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751608AbeCCJOp (ORCPT ); Sat, 3 Mar 2018 04:14:45 -0500 Received: by mail-wm0-f65.google.com with SMTP id s206so6086598wme.0 for ; Sat, 03 Mar 2018 01:14:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GByzKZk2HF+E3QjlACTvBgwpBgv4BY5/iB0CzLxWo7k=; b=pZdVHEgQrgW4bWIG1G1eeWjj3daG3p7xrfPqcRg7j8ykIDTHOeJFlEdU5MfFNdS7yv +NVMMJRj9STjTtrHfs3nPQJSB/FvTEyiy9OKWGEytB16jiGu8cPOe+7esMH0+PbqxC8U set4FYhqUkumnO417EnK7+6G1IFlPv++LV1yqCu8aSkXfh2otIfvHSbca/ikxeWljScz +3lRmhzI6tjHtI8kJL2Io6yq5Qwtv1M5i6n9sT3Q4dluutyc0YiQnym/Ih6SMfXDFWRo Wriq1zjQJ3ZBU3NBv8dYgsx0AyQ7vc9lkyjR6hXGOp3kK539N6K5+Qd/ncNStDAjWTS+ rLPQ== X-Gm-Message-State: APf1xPB8AgPccrykCipblYZeBMrekmdj8R/tlByqk3m+BSo6bnJWvHy4 YCkzxByjjLUGvT/+6u4dLwDZmo/b3EM= X-Received: by 10.80.165.143 with SMTP id a15mr10468079edc.289.1520068483737; Sat, 03 Mar 2018 01:14:43 -0800 (PST) Received: from shalem.localdomain (546A5441.cm-12-3b.dynamic.ziggo.nl. [84.106.84.65]) by smtp.gmail.com with ESMTPSA id z17sm14976102edz.35.2018.03.03.01.14.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Mar 2018 01:14:42 -0800 (PST) Subject: Re: [PATCH 4.4 64/67] usb: uas: unconditionally bring back host after reset To: Ben Hutchings , Oliver Neukum Cc: stable@vger.kernel.org, Greg Kroah-Hartman , LKML References: <20180202140815.091718203@linuxfoundation.org> <20180202140822.268335379@linuxfoundation.org> <1520036364.2786.39.camel@codethink.co.uk> From: Hans de Goede Message-ID: <5ed38173-5fd6-eaa2-b838-632829471aec@redhat.com> Date: Sat, 3 Mar 2018 10:14:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1520036364.2786.39.camel@codethink.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 03-03-18 01:19, Ben Hutchings wrote: > On Fri, 2018-02-02 at 17:58 +0100, Greg Kroah-Hartman wrote: >> 4.4-stable review patch.  If anyone has any objections, please let me know. >> >> ------------------ >> >> From: Oliver Neukum >> >> commit cbeef22fd611c4f47c494b821b2b105b8af970bb upstream. > [...] >> --- a/drivers/usb/storage/uas.c >> +++ b/drivers/usb/storage/uas.c >> @@ -1052,20 +1052,19 @@ static int uas_post_reset(struct usb_int >>   return 0; >> >>   err = uas_configure_endpoints(devinfo); >> - if (err) { >> + if (err && err != ENODEV) >>   shost_printk(KERN_ERR, shost, >>        "%s: alloc streams error %d after reset", >>        __func__, err); > [...] > > This should be checking for -ENODEV, shouldn't it? Yes you're right, the check should be != -ENODEV. Oliver can you do a follow-up patch fixing this please? Regards, Hans