Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5077453ybv; Mon, 17 Feb 2020 11:46:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzppuM6EHeu6GEkuHEsbbb7ADoBvCma0L75Z9cHU2cuHTJBfBV4DfBY9ap+hy7/4q7YlXJV X-Received: by 2002:a05:6830:1607:: with SMTP id g7mr13162900otr.320.1581968783074; Mon, 17 Feb 2020 11:46:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581968783; cv=none; d=google.com; s=arc-20160816; b=TWC3LnjGHC5HxRcLtbJ9LEk2gPmSmE/JildilBeAzgOA5u0x3ZRehghnGXii7HNq6t +d84ouY0Sy5MLnY4i1+GOdmz73tHUdhnE/hpMe8tLQkc6C7NdrCjCkC6EyaY4YRqRYIR 5+CS973N+9vUcc3uOvbj5RCkwDuga9QZNyMO/QYP4zF0OnCBrIWPQEhf7s3aE/6DDE/j 4MhSL+Ejn4qY17KC0rJhGgNHpiWnjkfw0yZEQlu5R18s5I8A5IG12zXF7A6DhHqgzhwR FjvLl9x8XkEIGPYUbcU3dxGa4AY3IiMC0oOhbaHdDwEOWpgINSuuoTWmpbjazFTtbgeL ws/w== 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:dkim-signature; bh=hAGXzttVTU3vTW9zSwiZjIbEGfhltW6+ZpeX5a9RjkI=; b=k3RDjk3jI4y2rAkSP6yDPhyepzmTzsOPoJNMG7+VZ6Yer7sjc3/NRlJg9R0y+NURQ5 NltQeR4WsdnX/Zsijn8EZ9Y5PZSLWi2CPQrb5us2VBfBQnbgF3ZZMmRhBOK2orEif9fK 0zDhSpWaEU6snmUtaXPAP0/WzSG512z5wi/AmwW1D8MbMORKIE40sysn58jVV4AFvU2M Viaqb7hTygpLYkmmXKgVdSLpElVt92OztTDYPAFxGa5O2OaoiqBNgud4so+yoixydr45 Rtzskg5KYkSx3BcgMtqMC0bHTmhj3raglIBPQDZo8um6SZP3AQ6BzvlbtxRlBVxPlYmL wodw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=XTbyy9M0; 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 g6si610017otk.171.2020.02.17.11.46.10; Mon, 17 Feb 2020 11:46:23 -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; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=XTbyy9M0; 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 S1728676AbgBQToK (ORCPT + 99 others); Mon, 17 Feb 2020 14:44:10 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40308 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728519AbgBQToJ (ORCPT ); Mon, 17 Feb 2020 14:44:09 -0500 Received: by mail-wr1-f68.google.com with SMTP id t3so21168967wru.7 for ; Mon, 17 Feb 2020 11:44:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hAGXzttVTU3vTW9zSwiZjIbEGfhltW6+ZpeX5a9RjkI=; b=XTbyy9M07afpglRT+iO35JnldTEcjCx+vuZqDIGZLoJUF5D8I6my6oLFj4WIviUcnJ bYRT5UvCaV5yo75SihEbI+WE1l2Sms5tQ4sIfilEjwnfngXf8dG17m8MduU0fKBwiJNt TPa7Qyx53xL/Nrje5HmA6kNtu+bMGA3b5vtWE= 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=hAGXzttVTU3vTW9zSwiZjIbEGfhltW6+ZpeX5a9RjkI=; b=IRZYReQXe+J/CZt62a0ErsB78zGdvvBUW//me2V9zzxTyYpg4RPGIkYHpfq1eoZf98 6lqmx1xU9xZZw00PV8CTyokZHR+vBATRB7dom0f1ZwqLrqhkFT1fvHPSrwmkjlzarfn7 cE2SeriQDa1pGVe61IqcqJNY1B5G0+di1v5QhFLtautGoITVjl9qts8oYTUomdnIiC9q p9VxUuDrLT/qBIwaHURY7O6+WJ2cbMmLEup2aMzKf2R6m4DScBnJTO7I9OCNJg9PQRoX Ord4flQUkDYc5wZ3SGVTRKyw/jhmWxlShv1zJ51oaHb1EFZlpd5n1mI4dz9FKFR/0KQD qO0g== X-Gm-Message-State: APjAAAUqQFAIbw8wH8cuwgtqJfJb3ODXyLaa8PTLbwc7lW/Ca/QnTBp6 xOS8goL9s/tQ1ZLpf8lyEnCRgL4FH6v9189w X-Received: by 2002:adf:f802:: with SMTP id s2mr25170420wrp.201.1581968646062; Mon, 17 Feb 2020 11:44:06 -0800 (PST) Received: from [192.168.1.149] (ip-5-186-115-54.cgn.fibianet.dk. [5.186.115.54]) by smtp.gmail.com with ESMTPSA id e17sm2278476wrn.62.2020.02.17.11.44.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Feb 2020 11:44:05 -0800 (PST) Subject: Re: [PATCH] usb: host: fhci-hcd: annotate PIPE_CONTROL switch case with fallthrough To: Joe Perches , "Gustavo A. R. Silva" , Greg Kroah-Hartman Cc: Timur Tabi , Li Yang , Anton Vorontsov , kbuild test robot , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200213085401.27862-1-linux@rasmusvillemoes.dk> <20200213125659.GB3325929@kroah.com> <4fa8a8e9-934d-2962-1daa-fdeea6017ea1@embeddedor.com> From: Rasmus Villemoes Message-ID: Date: Mon, 17 Feb 2020 20:44:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/02/2020 18.33, Joe Perches wrote: > On Mon, 2020-02-17 at 11:12 -0600, Gustavo A. R. Silva wrote: >> >>>> 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?" Depends on whether you consider a change that introduces a warning in an otherwise warning-free build a regression or not. That commit claimed Now that all the fall-through warnings have been addressed in the kernel, enable the fall-through warning globally. but as I explained below the fold, any CONFIG_PPC32+CONFIG_USB_FHCI_HCD .config grew a warning due to a035d552a93b. So at least in that sense there is something wrong about that commit - the above claim is simply false. Please note that I don't expect anybody to ever be able to actually cover everything before doing something like what a035d552a93b does, so I'm not complaining, just explaining. Then I introduced a change which made that code compile for a ppc64 allmodconfig, which apparently 0day does cover, which is why I added that other tag. > There could be some effort made to better specify when "Fixes:" > tags should be used. Indeed. I explicitly chose not to cc stable because I don't think it's for -stable. But in case somebody (or Sasha's ML) decides it is, I went out of my way to include relevant commits and an explanation for the somewhat odd dual Fixes:. So no, I don't think Fixes implies or should imply Cc stable - and I think this is all consistent with submitting-patches.rst: Patches that fix a severe bug in a released kernel should be directed toward the stable maintainers... and A Fixes: tag indicates that the patch fixes an issue in a previous commit. Nothing says that Fixes is reserved for -stable material. > I believe "Fixes:" should be used only when changes have some > runtime impact. Perhaps. But it's hard to make the rules completely rigid - suppose commit A does fix a real bug and is backported, however, in some configs it introduces some warnings; that gets fixed by B which doesn't change generated code. Should B be backported, or should the -stable tree(s) live with those warnings? "Fixes:" should not be used for changes that > just silence compiler warnings using W=<123>. I tend to agree, but that's completely irrelevant in this case, as this is not a warning that only appears for W=<123>. Rasmus