Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp541375lqp; Tue, 11 Jun 2024 11:39:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXn5DEEhaaJ275Qfx/KlbjUiVd2aQY8prF4jHkvprUkcV9/FCgfSExs6kz9b97iZS2paxionhdmDEOewugYdI0Ffcl0M0eJ5KWYR7W9MQ== X-Google-Smtp-Source: AGHT+IF4BV9IuTRH+Mrt3qUH8vxyCARaYnGxpVG4ZxPYPRsAGWncb5MoSvky/+11EjTAnTvPKkFt X-Received: by 2002:a17:907:38d:b0:a6f:11e6:d49a with SMTP id a640c23a62f3a-a6f11e6d620mr486128966b.51.1718131147897; Tue, 11 Jun 2024 11:39:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718131147; cv=pass; d=google.com; s=arc-20160816; b=glFOgvmhguXOIXnsluPQkp3vmbEwBadap5gYe0EmFFRFoA4v9064q1Tf1ssKMuAIDq xq1CDoqZhUhiBjkrxTzSddlgpwMsPkL86+ukq4cTj0KeVHwNnrE/21Gqlt2IsBOiU/S4 cYJoH7nlj6uZz7cmlt5R9HfeFE0WF/qB8wjZVM/kJF+CLlvuRQQZrhJswaD1fOFS3XEx G3s+rSmMKvDoJ0sObDIEWUy+x8JfsQ488Jk3RMBecOdyXKNKGtdOII+pTwc3r7HgJ+FY /65J1bv3djvIJeaWSJ7Zje3GMoMRP2Gry56UTIR/IdbCW1WHJ2hb+q0uWeqcYKcpLjEP 9Jbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=E45gdwi4hn8cQfB+bX9Eh+1MazS9kVlfA487m+Keci0=; fh=rY2xWmgYvGRSQsdn1TL/f6Zst6EO5UMjgqm6fSkxAfc=; b=pKI8/XDoerQFxoB0tLVAfB8aQ6ZEUDTZId+N+iQ+hCMKDWXhkLU4gLx/jzHLgzTFdY 9joX5PdBdkrg0rV738sLCREDMZSlmpvyAu1OV80bdu9zY3fYcXj43I5Ta5C49mQpoqd3 vaAyO2kUHDv/SsCNyNDN5BSvskDjzSrrHiuMfLdFz115+if+FANl19WmDAZxpn1d98j7 Fi9/9M5WLn545Hn/ZJQ6es1ysX6IvBhW1Xtb2Ywx0u/Cyf3SWNxtPASo7JdfgWetEyXT cpuyG2W2Lmlo/hUvn+QMFHfhr9YC+j031pHFEgvGVJP4M92hPRKwpj88TbWNSJDKcP5N ppEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=0+HgQZDn; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-210450-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210450-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c806dab02si590619166b.332.2024.06.11.11.39.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 11:39:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210450-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=0+HgQZDn; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-210450-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210450-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9DA251F25791 for ; Tue, 11 Jun 2024 18:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E86516F2F0; Tue, 11 Jun 2024 18:38:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="0+HgQZDn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1C7914A96; Tue, 11 Jun 2024 18:38:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718131137; cv=none; b=MeB3SbhvM9NU7l58btt8luUgclJxXHW7Ha+FZzeEQVK2rWlHkpJAChjkBGHeVx5Zex8coJIblwLyP5Zr+bprZwioejZ4st8i2WB9RxHca2Uu3r4HTFLdIWyqrl6baAwys53s7+DCqkCJCdHXBUKNDh3MwewVU2h8/tkMeEbAO9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718131137; c=relaxed/simple; bh=QzoeiAlrGSB0mhE4dTqZ/+X4xvaNKPEqzYovZICDW+0=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=uvFgIIb2wKPvBPPKb9flZ1H2wv1NHB/7N/tfedIrrpnouCyPCMI71JXA0xKNSTcc/Ah0YvYkRJOKfCK0z4Q5MbSKkwWfMIE9/CBm6x1mLbfEhp9qP7DaThsWP+eCsrdXJiM9cYqnD59aqAB9auw+JAl55jnKSA+Y7P7hBtcsQwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=0+HgQZDn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BD92C2BD10; Tue, 11 Jun 2024 18:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1718131136; bh=QzoeiAlrGSB0mhE4dTqZ/+X4xvaNKPEqzYovZICDW+0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0+HgQZDn/hNWKdnS2pbqsdidfIolhv7J6gSm+5li7h6A2Gq5VWsruKQinCl22rahP 5T52QqTxH2HEQKJNBb3AeE0UNY6r1G1SpAtlxQ/KdDAIwWOuoor0NqRBT4IvfJxL3h joDUk8eynkn/m8H0L9Ag5sybLEK+0tDEXRusCTJo= Date: Tue, 11 Jun 2024 11:38:55 -0700 From: Andrew Morton To: Dan Carpenter Cc: Thorsten Leemhuis , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Kees Cook , Sasha Levin , Tom Gall , kernel-janitors@vger.kernel.org Subject: Re: [PATCH v5] checkpatch: check for missing Fixes tags Message-Id: <20240611113855.b63a6015b26a0dad49d9f2a7@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 11 Jun 2024 16:43:29 +0300 Dan Carpenter wrote: > This check looks for common words that probably indicate a patch > is a fix. For now the regex is: > > (?:(?:BUG: K.|UB)SAN: |Call Trace:|stable\@|syzkaller)/) > > Why are stable patches encouraged to have a fixes tag? Some people mark > their stable patches as "# 5.10" etc. This is useful but a Fixes tag is > still a good idea. I'd say that "# 5.10" is lame and it would be good if checkpatch could detect this and warn "hey, use a proper Fixes:". Because > It helps people to not cherry-pick buggy patches without also > cherry-picking the fix. seems pretty important.