Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1193414ybg; Thu, 4 Jun 2020 03:35:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp2V18waEkQ73Fsn1ecOjCHTHwvcM2wpEtg6iYlKVe/6O9tfHG+9gLMB3Rpt+MOM1WTzPM X-Received: by 2002:a17:906:d215:: with SMTP id w21mr3166073ejz.383.1591266947155; Thu, 04 Jun 2020 03:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591266947; cv=none; d=google.com; s=arc-20160816; b=z1sG0/u7enzK9cb88cpp2w1XBFQq9Bvsl3d0KpipuT+r5+0gI/6CqQwP1EHxOCbhO+ n5xTsBLhiNeL8J84aZxO80z1UJPgg49jV8Peu+7YMGhWszFKaDmVujOhx/l4OMswhYOP GYB4fbfLkil4l4pQ9KuRrWJ7ub3yLuaUZMMTDHmnOe8SZFLpcWBIglN4s/H5NmfOi93g +zl/PlPGV8EXWfE89kLI7ny1CTjxU7DZcCh5zcvgUWS13kr8nhwpqVZkimPJgE27LSCc 8iI2ES7WtiDeiVCoAgDOhHMMHHCPLJ94M7BPtZviYfU7hejVSedoeBySgrR5czYt3eRW UzHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=5qsxZkvKHHBigTEAtDhY70yX8LDpTrhMv/No7crmjso=; b=gAB3PycUS0WBT42YH2yYPV6xYvs9NScVAD5UjuFpt/8W4YC0lAC8f72vAru8Q+FlLE otMmvxFs6dWP4Ms44g9AUD4l3R7cD2ByM5fICP7kSPgQ9gj+jR9hBZlQ5sP9BIgVU2N7 yyApuymiW40gwZWEsKf+cH7bvGfuW4QVsJZ6tQ94HNV85bF7C+1nNgNTlXAn6M8diXJw fBC0uIIYfuzxwjZ5gVUcU10ndQcQ4UZT6zHFzcun6r3Juz0vCGTDiienja92Gz/0sJOV TkEBfaK4D7Ins8AY+8UZp/qJ4E/CbSycv3aZ29WazwsrVbZMzFxqKtVE6A0FkZsaSo2i ctIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n9si1385241eju.428.2020.06.04.03.35.24; Thu, 04 Jun 2020 03:35:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728425AbgFDJwu (ORCPT + 99 others); Thu, 4 Jun 2020 05:52:50 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:54088 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728313AbgFDJwt (ORCPT ); Thu, 4 Jun 2020 05:52:49 -0400 X-IronPort-AV: E=Sophos;i="5.73,471,1583190000"; d="scan'208";a="452941151" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2020 11:52:17 +0200 Date: Thu, 4 Jun 2020 11:52:17 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Joe Perches cc: Dan Carpenter , Linus Walleij , Christophe JAILLET , Robert Jarzmik , Daniel Mack , Haojian Zhuang , Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org Subject: Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken In-Reply-To: <2aa49a543e6f48a6f428a37b63a06f9149870225.camel@perches.com> Message-ID: References: <20200531073716.593343-1-christophe.jaillet@wanadoo.fr> <87h7vvb1s3.fsf@belgarion.home> <20200601183102.GS30374@kadam> <20200604083120.GF22511@kadam> <2aa49a543e6f48a6f428a37b63a06f9149870225.camel@perches.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) 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, 4 Jun 2020, Joe Perches wrote: > On Thu, 2020-06-04 at 11:31 +0300, Dan Carpenter wrote: > > On Thu, Jun 04, 2020 at 12:08:49AM +0200, Linus Walleij wrote: > [] > > > Fixes means it fixes something that was wrong in that commit. > > > That's all. Whether syntactic or semantic or regression or > > > serious or not does not matter. It is also not compulsory to > > > add it is just helpful. > > > > Fixes tag should be compulsory for actual bug fixes. We had a the > > Bad Binder exploit last year because commit f5cb779ba163 > > ("ANDROID: binder: remove waitqueue when thread exits.") had no Fixes > > tag and wasn't backported to Android kernels. > > Fixes tags IMO should be exclusively for actual bug fixes > and should be mandatory. I'm not sure that it is always possible to determine the specific commit that a patch fixes. Some bugs are too old. Some bugs may arise from an interaction of issues. I don't have a concrete example, but I feel uneasy about mandator and compulsory. Neither word is in the proposed text, though. Should Fixes also be used when the change will make it hard to port other fixes over it? julia > > Perhaps: > --- > Documentation/process/submitting-patches.rst | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) > > diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst > index 1699b7f8e63a..285a84ae79de 100644 > --- a/Documentation/process/submitting-patches.rst > +++ b/Documentation/process/submitting-patches.rst > @@ -636,12 +636,14 @@ idea was not posted in a public forum. That said, if we diligently credit our > idea reporters, they will, hopefully, be inspired to help us again in the > future. > > -A Fixes: tag indicates that the patch fixes an issue in a previous commit. It > -is used to make it easy to determine where a bug originated, which can help > -review a bug fix. This tag also assists the stable kernel team in determining > -which stable kernel versions should receive your fix. This is the preferred > -method for indicating a bug fixed by the patch. See :ref:`describe_changes` > -for more details. > +A Fixes: tag indicates that the patch fixes a "bug". i.e.: a logic defect or > +regression in a previous commit. A Fixes: tag should not be used to indicate > +that a previous commit had some trivial defect in spelling in the commit log or > +some whitespace defect. The Fixes: tag is used to make it easy to determine > +where a bug originated, which can help review a bug fix. The Fixes: tag also > +assists the stable kernel team in determining which stable kernel versions > +should receive your fix. This is the preferred method for indicating a bug is > +fixed by the patch. See :ref:`describe_changes` for more details. > > .. _the_canonical_patch_format: > > >