Received: by 10.223.164.202 with SMTP id h10csp129540wrb; Thu, 30 Nov 2017 07:58:11 -0800 (PST) X-Google-Smtp-Source: AGs4zMbolyo/3UDbLOqxGfu39x+hD5OfoHBjg5KFs5cI0qXHBd7/A6JW63dS+U0kANllg55GJwxg X-Received: by 10.159.251.140 with SMTP id m12mr3123146pls.199.1512057491615; Thu, 30 Nov 2017 07:58:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512057491; cv=none; d=google.com; s=arc-20160816; b=i0f9rLVFvyONjqTNFwkbYRvRQW2KlLlLTAQHajl6W7Dp7HqX1CoDtdROBhOsMcFPeJ xQN/csqpybCtBVSEvragXGRuYOrk0vu/fuW0k+WUwSdtd51xeGGZIjd4Ws6RNfIaUyam bX7tNifsznTX+vA/Ei5cUHBCFnIJ1a1YG+xn3RvRJWBUjsdDYhybbt3ThUR5ZVEQ1pcD A0NnPLyzwDKkdGxzk/0p7QoyCrG14fqAbqd5cfqTVuK9SkuisUNRBMwwR9jThClpt6Pe YVgyoCcaSp6MvjEBW7Ih22924+uu4Y62E8pSbME4TMTQbprMZ7yQpQIq/lf/CYD/9Q5X 9h4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date:arc-authentication-results; bh=KokwWWM7aUqgc4pP96+IW5iqbq0uKniBkqpp0Da1sqg=; b=qUXpAunKIPh4MfM0aB9y2VG99lVkBbhMwSe8WOOtL5llyNGIHyQ1EHwHuVat4Mwq0v ywAggOBIiQGeRMtKMuwLCCNu9aKzrULKf42ng6bcmywLQRYzXEmLfIwSqeKepXnT5vcl qHzSzp05AW72zlMTiBOtdP3rdLlB0Zz2prfNTQbgpTSoy6R0rCMUHmplBU6qpbkvgbSL 7gHnSS9tnt5qPgY4Dla9p4nvaigHYKJMFFh7eldtevG2zrt2k2OVreVlsgCDj+GJPPm9 A46spA7z2W//WdUPVAMdGwhiT5g+65v9VD2Cy9IZ01rv/WgmGTkJpMX6tiMI7yriW3Kw c5VA== 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=harvard.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m13si3191203pgs.575.2017.11.30.07.57.57; Thu, 30 Nov 2017 07:58:11 -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=harvard.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752825AbdK3P5j (ORCPT + 99 others); Thu, 30 Nov 2017 10:57:39 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:34848 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751936AbdK3P5g (ORCPT ); Thu, 30 Nov 2017 10:57:36 -0500 Received: (qmail 2499 invoked by uid 2102); 30 Nov 2017 10:57:35 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 Nov 2017 10:57:35 -0500 Date: Thu, 30 Nov 2017 10:57:35 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Mikhail Zaytsev cc: Greg Kroah-Hartman , , , Subject: Re: [PATCH v1] USB: storage: Remove obsolete "FIXME" In-Reply-To: <20171130115407.35e5e8a2@zaitsev.tver.pg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Nov 2017, Mikhail Zaytsev wrote: > The fix of "FIXME: Notify the subdrivers..." doesn't actually have any > real effect. The "FIXME" changed to simple comment. > > Signed-off-by: Mikhail Zaytsev > --- > drivers/usb/storage/usb.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c > index a0c07e0..3eb9347 100644 > --- a/drivers/usb/storage/usb.c > +++ b/drivers/usb/storage/usb.c > @@ -211,8 +211,8 @@ int usb_stor_reset_resume(struct usb_interface *iface) > usb_stor_report_bus_reset(us); > > /* > - * FIXME: Notify the subdrivers that they need to reinitialize > - * the device > + * If any of the subdrivers implemented a reinitialization scheme, > + * this is where the callback would be invoked. > */ > return 0; > } > @@ -243,8 +243,8 @@ int usb_stor_post_reset(struct usb_interface *iface) > usb_stor_report_bus_reset(us); > > /* > - * FIXME: Notify the subdrivers that they need to reinitialize > - * the device > + * If any of the subdrivers implemented a reinitialization scheme, > + * this is where the callback would be invoked. > */ > > mutex_unlock(&us->dev_mutex); Acked-by: Alan Stern From 1585480573902659874@xxx Thu Nov 30 08:55:02 +0000 2017 X-GM-THRID: 1585480573902659874 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread