Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5220820pxb; Wed, 26 Jan 2022 07:20:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdHfOVwcT4Rb9dzGjTaEdGBQn+CHHOenHJJyU00D0pP+YSYLYmYqYTCKbVxise88cZfnpj X-Received: by 2002:a17:906:d184:: with SMTP id c4mr20065811ejz.20.1643210414656; Wed, 26 Jan 2022 07:20:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643210414; cv=none; d=google.com; s=arc-20160816; b=fVZrCQmnDVnf+7evaDsWNQ2unWtsm4ktx/cjCy4DmrdG5fN5sNRpZubpQNxJMEOmew sp55ZnBNGX2wHnhN5Lt7iGV4ljGH0tNT5/50T0yqQSPap5znRUFZmWWLn41NCHkyYPe/ JT/CRte8Jeq/DhlmYWTUriPh7qweyVPZCI9YcCQYlGhuDTpNUUpE4mAlM36CaZAlqOY0 aHnDUEIS8k0xX8FCA40D9/KmNnuHtpN30WEtEu36SPg05da18rXyfpWbyNfoBxuEkxQH FSc0eAEZehvkDD74a0XETp9PlvIRbJ0aYx6siT3vFsfeaZIkbM2ltIr8ogt4y8Gsjx2u Q10w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=flUJbbYzi2nhSGnrH+TD4ffwR4cNPibdz2V2+QRZWZw=; b=YzpnSz8+JCxgVSyOjGVV7ahDwp1FCPjuPs81reVmYhsrhqNlZTK7H+LRB5aL/gGFAP 9NvE7M9/3mw5JDIXcoDjvAW+7B51+XOSEfecqtU/fxlb6dNXiScO80jywbOU2WfoSbJF qkEQAviF1DArXbSK+FT4770Nlhejfr17GL3fCjPAnAmA18JSn24li5EbkjpNQMrnlBCk yhYuYNdiab27dDBVx1ltRo6e0PTJ/uvU/LkgQRlQQS01U6Iyd9lbkdy+w1+gh+8vfcxe rL4qb9URvldD349rQzFIIlAO9RZ6ukYb8xfpOSppRWsBlQgsHNL23Vc3q66odrZiEycF +MoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=n5W4MYLN; 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 sh10si12876896ejc.725.2022.01.26.07.19.48; Wed, 26 Jan 2022 07:20:14 -0800 (PST) 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; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=n5W4MYLN; 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 S236044AbiAZByD (ORCPT + 99 others); Tue, 25 Jan 2022 20:54:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236019AbiAZByD (ORCPT ); Tue, 25 Jan 2022 20:54:03 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41BCFC06161C for ; Tue, 25 Jan 2022 17:54:02 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D5598615FF for ; Wed, 26 Jan 2022 01:54:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06723C340E0; Wed, 26 Jan 2022 01:54:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1643162041; bh=HmDtfxHw0TkZKeuMjg1E/+s3cS8wl9HTxKT4JJin/A4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=n5W4MYLNrHSAzrkjeTunr7ROvRwu84tUqYlWmglWNH4T//dtLXIn3XAJsu5oOdaoH hhxJKASSMVAc5InifAJPSkFHODUBamnR4xjouMwwZkOj3UzrHg03LPUaphyCqFmig0 4GWA/ydOhy/CdALNzAxvUlCuplk6C1kKEtRdi8hk= Date: Tue, 25 Jan 2022 17:53:59 -0800 From: Andrew Morton To: Andy Whitcroft Cc: Joe Perches , Sergey Senozhatsky , Ricardo Ribalda , Tomasz Figa , linux-kernel@vger.kernel.org Subject: Re: [RESEND][PATCH] checkpatch: make sure fix-up patches have Fixes tag Message-Id: <20220125175359.9571d0cb36844ebe69583298@linux-foundation.org> In-Reply-To: References: <20220119074609.4162747-1-senozhatsky@chromium.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Jan 2022 09:48:32 +0000 Andy Whitcroft wrote: > On Wed, Jan 19, 2022 at 9:42 AM Joe Perches wrote: > > > > On Wed, 2022-01-19 at 16:46 +0900, Sergey Senozhatsky wrote: > > > If a patch contains "commit hash (commit name)", in other words > > > if the patch fixes some particular commit, then require "Fixes:" > > > tag. > > > > I do not like this patch as many commits merely reference a > > previous patch and do not actually fix anything. > > Agree. It would need to be a tighter form of language to be safe to > automatically suggest a Fixes tag. The point of a Fixes tag is to be > a semantically safe indicator of this relationship not relying on the > vagaries of English for that connection. > > You might be ok with something which is a tighter match on like > "fixes ()" and only suggesting a Fixes. Also. stable tree maintainers appear to have the habit of taking anything which has Fixes and cheerfully backporting it. Sometimes undesirably. This patch will encourage people to worsen this problem. I wish this would simply stop, kernel-wide. Make developers and tree-owners actually *think* about the backport desirability. If that were the global approach then checkpatch could a) ask developers if they should have added "Fixes:" (this patch) then b) if it has "Fixes:", ask developers if they should have added cc:stable.