Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5010371ybv; Mon, 17 Feb 2020 10:19:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyVr2+qKR/1PyjORFoYPr6KgF2rsPmCRP2ASMTAEOxCNO+NHSJkosVigXHXJiYqJ0JLfw81 X-Received: by 2002:aca:fcd4:: with SMTP id a203mr164386oii.167.1581963585709; Mon, 17 Feb 2020 10:19:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581963585; cv=none; d=google.com; s=arc-20160816; b=HEJlui2zgtVwNwTIyN7OsJ65SMeGDZI8xlaZDTyD9vXpWYg5PKFCnRRHlY5I/ID9sw ZMPhNmMIQLeyN2qMmVPy1NZX4WBBELXB8doKNb+aSfTbywNxZsGumiH0bpuZXhj9BfKU D9IwZisMvgYOschzB87XzoFnHYRUNu3pF90Am0VU+S1dxFwGHJiX+lG7P84JHkS4i2FC Q6UqXJRJQHToXTsoih683qG/AXc+ZnGIJyVZDt7Di6p/Z+PBuHfYhiRViwEosTldINa2 t6CrdKPNcpccn4bn3QsHUkhonIAPvg3nUA4NASMvdk8ljHtGtqvlht2OYF5nh+PqibTy jCrQ== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=OGUJbYsQLEwMzz7VcgW18sYK7d/VNtv5GrMzXI+KQ5s=; b=thy359e7q+UJM5tSy2gDlMrFsbd7YrmSYuJTFTuHhZ8ysdBDyQGEHuw5qxhEVpI9XA 3yrNsRHznteGsPw156L+KL8ZWrXCHDM6enmMvXIsOesidBmVyGWCZY78jpJJGK9e77pc Hr5WCneEzVXfAb4zjIXU2rafDCJRC1uD8xHQQt8U4lJqOyqadjZ5aholpCpQT/EizYYZ nI/5dOxNgwNCMLZt1GMmnM2LYr3Va+fk6ZyAqGY3zO/MsUyCMMrXNDu/5M0Yq8MubLLa 7Gr49f/JgWe9UQaSPCzPm/SoU7ZXoTEIHxDkRk7CN4YvPG3CbFocxfiyVFYmvX4XAu6s VX9Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si531824otp.273.2020.02.17.10.19.32; Mon, 17 Feb 2020 10:19:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729728AbgBQRfX (ORCPT + 99 others); Mon, 17 Feb 2020 12:35:23 -0500 Received: from smtprelay0247.hostedemail.com ([216.40.44.247]:53671 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729678AbgBQRfX (ORCPT ); Mon, 17 Feb 2020 12:35:23 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 6B10F837F252; Mon, 17 Feb 2020 17:35:20 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:355:379:599:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2691:2828:3138:3139:3140:3141:3142:3165:3352:3622:3865:3867:3868:3870:3871:3872:3873:3874:4321:5007:6119:8603:10004:10400:10848:11026:11232:11473:11658:11914:12043:12296:12297:12555:12740:12760:12895:13069:13161:13229:13255:13311:13357:13439:14096:14097:14181:14659:14721:21080:21451:21611:21627:30012:30054:30064:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: game24_85b8439dbbd2f X-Filterd-Recvd-Size: 2604 Received: from XPS-9350.home (unknown [47.151.143.254]) (Authenticated sender: joe@perches.com) by omf18.hostedemail.com (Postfix) with ESMTPA; Mon, 17 Feb 2020 17:35:18 +0000 (UTC) Message-ID: Subject: Re: [PATCH] usb: host: fhci-hcd: annotate PIPE_CONTROL switch case with fallthrough From: Joe Perches To: "Gustavo A. R. Silva" , Greg Kroah-Hartman , Rasmus Villemoes Cc: Timur Tabi , Li Yang , Anton Vorontsov , kbuild test robot , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 17 Feb 2020 09:33:58 -0800 In-Reply-To: <4fa8a8e9-934d-2962-1daa-fdeea6017ea1@embeddedor.com> References: <20200213085401.27862-1-linux@rasmusvillemoes.dk> <20200213125659.GB3325929@kroah.com> <4fa8a8e9-934d-2962-1daa-fdeea6017ea1@embeddedor.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-02-17 at 11:12 -0600, Gustavo A. R. Silva wrote: > > On 2/13/20 06:56, Greg Kroah-Hartman wrote: > > On Thu, Feb 13, 2020 at 09:54:00AM +0100, Rasmus Villemoes wrote: > > > After this was made buildable for something other than PPC32, kbuild > > > starts warning > > > > > > drivers/usb/host/fhci-hcd.c:398:8: warning: this statement may fall > > > through [-Wimplicit-fallthrough=] > > > > > > I don't know this code, but from the construction (initializing size > > > with 0 and explicitly using "size +=" in the PIPE_BULK case) I assume > > > that fallthrough is indeed intended. > > > > > > Reported-by: kbuild test robot > > > Fixes: 5a35435ef4e6 (soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE) > > > Fixes: a035d552a93b (Makefile: Globally enable fall-through warning) > > By the way, the "Fixes" tag above makes no sense. There is nothing wrong about > that commit. It just enabled the fall-through warning globally. Why would you > "fix" that?" There could be some effort made to better specify when "Fixes:" tags should be used. Right now the "Fixes:" tag is used far too often for changes like whitespace only or trivial typos corrections. And those changes can get backported. I believe "Fixes:" should be used only when changes have some runtime impact. "Fixes:" should not be used for changes that just silence compiler warnings using W=<123>.