Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp311506lqp; Wed, 12 Jun 2024 02:16:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUG+0EIsFmLhsGhLtZCbn9sncxYYge6qVbsw8a8owGtmyqaZihBaFGflTGTaJny1HLB0KWKROcGmvEQ1w+DlzLUUx62g6IY7bwvl5HBA== X-Google-Smtp-Source: AGHT+IHCT8nY3P9Y3YLnlB79CfxQgJMOP/ssRV69ynxD9wuVI2a45/TFPC/EtytHym5D5xB6MfpB X-Received: by 2002:a05:6512:324e:b0:52b:c296:9739 with SMTP id 2adb3069b0e04-52c9a3e3d70mr738268e87.41.1718183766127; Wed, 12 Jun 2024 02:16:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718183766; cv=pass; d=google.com; s=arc-20160816; b=WIspvacbU0lerFO8UGKDyF8D45/8IFrj7CFd8EzBkp1+d9jVXE9tzBtUhXBBdkZAie wRGNYdJFX/Tcb/bxRzjiunG+Yo1F0J/orjOVRvmSncC9Hfw5i8EFiYyplEZy7YBcscyd ZwXSBKO5YClCBLqOwXeJaE6jv4Dh/LbCQ7ye/0sABjOAOZLpY+HkQvFWwBsrwERJvg4a zO/lueTrVFV6CsNWszdJ3HHsv/dfP8qHPTLbNSui8PHs3DasyF67K4Z8NFs1lNkQDeTf SrIPWQ04jXar5LWd4N3oGB8ExrbT262rWLsIgpmryXiMxgeY2MAtiM66pVm5ixiTLspl 2hpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=JRvA94wC/Ln8bnzFmy6UZICx3X6OwE+oVvnKJStYJSQ=; fh=ehaTo0kEH1PJ39Dc3ASIi+TA+CMqG52qtqYIXsbwWUA=; b=hbn2BJ8rfcYOvh2E5nVnxg5UAUxt8q+o9gtaUaNZIMSx1SEAdpTDJzOmMqtOquwWpC 1ykQTVfys0F0evkut5KivblBfNE/WjKGo4k4yo2coRpAfyGorMo1nj+7uEK0R4bGGRJh AvUa4PZyYV7HsYjpjWA3bS/ldTMYpwFYkiR8B0ZAA6k9uOT/yJWTj07Vnq0zRHVEBoE3 EeB+KchbcWrXY0ma4BY5vHsEy8aQa/TVUlLI5VhpZzBwlI6SYf/pUjw4MrIVCIAEGcDQ fldPCbnylTQ2JO+IQpxKgBwyvzuAkYnTrjw1Cnd4B95JUZqK4aAAMaIyUP02oHzHfHso 4C1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=3S+1CtwM; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-211244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211244-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-a6f2598b961si251622266b.365.2024.06.12.02.16.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 02:16:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211244-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=@leemhuis.info header.s=he214686 header.b=3S+1CtwM; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-211244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211244-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 A1B871F2395D for ; Wed, 12 Jun 2024 09:16:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8A5F16D9BA; Wed, 12 Jun 2024 09:15:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b="3S+1CtwM" Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (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 C27E922F03; Wed, 12 Jun 2024 09:15:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718183757; cv=none; b=UF1kL3vYs9YPFSvX4VALgKmM0rOcHjf0QfsdLCpKc96eUjkQn6JYgboIQVlGvzNfT0E79bD3lbP4qaFrp6fn5z98bkW9wkT5jXe/VVXYlC6ymw493TjtsjVYoUK+t1o52zvs9tVZxyVROLO8CKselhzuNnFCGm8+4rHmbDZxh2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718183757; c=relaxed/simple; bh=GWE5vzhby5amhtINrAuKD6JzalyCfL/7n0EHOqXonuE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=U7T0yFmH+mwLRNuD1jgJO0IJN27g05yIhdzcHbyiIp9ZMZ/W/NOwstTzZrLCnh3dbn2dmAmmShkxxHfRQOVjcv1RGph/7HNvoFpPJ9rYzzfiqb3aPQhKHvQkmMHtT4GmG9tYnOrzqWBU+4LRdd+PwYqNjc0NKyOGewnLdxldsL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b=3S+1CtwM; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=leemhuis.info; s=he214686; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:In-Reply-To: References; bh=JRvA94wC/Ln8bnzFmy6UZICx3X6OwE+oVvnKJStYJSQ=; t=1718183754; x=1718615754; b=3S+1CtwMp3D8CowBNXQl6dzkZCC9J/ubK6D5vnu5sUx69+INM3+W//Hj4bNEg Ut2I0jjI182rYXCwVsooZmWpTTXk1p8KaCz5URc4d/wjo8dxpFMdWSjSdjQuupT5OgQ8Q8j8B/l+7 V6wZDnIpZA3mJxjr6UsoKk7VmSCiNmxkM65z7zWv+569i1l5Vv2xzfsiBYY7doh1UZiWFfZtTymQ0 e+2wFBdsYgPtUpoIPkkTbiDugmeuLBIMBHfivcC3i2u2qn+jh2sRQI4DRLosJsIZVegGqcB+kw4Th 31EEWWN5jejqmhXhpnPl7kKAcmJWU1Z4Y6CwDqusOFX5qjHjlw==; Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1sHK53-00089h-Pj; Wed, 12 Jun 2024 11:15:45 +0200 Message-ID: <390652ca-a383-4953-aa39-8c4ac92f2e3d@leemhuis.info> Date: Wed, 12 Jun 2024 11:15:45 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5] checkpatch: check for missing Fixes tags To: Dan Carpenter Cc: Andrew Morton , 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 References: <20240611113855.b63a6015b26a0dad49d9f2a7@linux-foundation.org> <6825db9f-be27-4096-9723-6ad65342a59e@moroto.mountain> From: Thorsten Leemhuis Content-Language: en-US, de-DE Autocrypt: addr=linux@leemhuis.info; keydata= xsFNBFJ4AQ0BEADCz16x4kl/YGBegAsYXJMjFRi3QOr2YMmcNuu1fdsi3XnM+xMRaukWby47 JcsZYLDKRHTQ/Lalw9L1HI3NRwK+9ayjg31wFdekgsuPbu4x5RGDIfyNpd378Upa8SUmvHik apCnzsxPTEE4Z2KUxBIwTvg+snEjgZ03EIQEi5cKmnlaUynNqv3xaGstx5jMCEnR2X54rH8j QPvo2l5/79Po58f6DhxV2RrOrOjQIQcPZ6kUqwLi6EQOi92NS9Uy6jbZcrMqPIRqJZ/tTKIR OLWsEjNrc3PMcve+NmORiEgLFclN8kHbPl1tLo4M5jN9xmsa0OZv3M0katqW8kC1hzR7mhz+ Rv4MgnbkPDDO086HjQBlS6Zzo49fQB2JErs5nZ0mwkqlETu6emhxneAMcc67+ZtTeUj54K2y Iu8kk6ghaUAfgMqkdIzeSfhO8eURMhvwzSpsqhUs7pIj4u0TPN8OFAvxE/3adoUwMaB+/plk sNe9RsHHPV+7LGADZ6OzOWWftk34QLTVTcz02bGyxLNIkhY+vIJpZWX9UrfGdHSiyY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+pR9A 7EElGPPmYdO1WQbBrmuOrFuO6wQrbo0TbUiaxYWyoM9cA7v7eFyaxgwXBSWKbo/bcAAViqLW ysaCIZqWxrlhHWWmJMvowVMkB92uPVkxs5IMhSxHS4c2PfZ6D5kvrs3URvIc6zyOrgIaHNzR 8AF4PXWPAuZu1oaG/XKwzMqN/Y/AoxWrCFZNHE27E1RrMhDgmyzIzWQTffJsVPDMQqDfLBhV ic3b8Yec+Kn+ExIF5IuLfHkUgIUs83kDGGbV+wM8NtlGmCXmatyavUwNCXMsuI24HPl7gV2h n7RI In-Reply-To: <6825db9f-be27-4096-9723-6ad65342a59e@moroto.mountain> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1718183754;a4595a40; X-HE-SMSGID: 1sHK53-00089h-Pj On 12.06.24 10:49, Dan Carpenter wrote: > On Wed, Jun 12, 2024 at 08:46:24AM +0200, Thorsten Leemhuis wrote: >> On 11.06.24 20:38, Andrew Morton wrote: >>> 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 >> >> Documentation/process/stable-kernel-rules.rst documents this use to >> "Point out kernel version prerequisites". > > No, the 5.10 means that the fix is required for everything after 5.10. > Here is how you reference pre-requisites. > > Cc: # 3.3.x: a1f84a3: sched: Check for idle > Cc: # 3.3.x: 1b9508f: sched: Rate-limit newidle > Cc: # 3.3.x: fd21073: sched: Fix affinity logic That format according to the docs is to "Specify any additional patch prerequisites for cherry picking", but cherry picking might not be what the maintainer wants. Anyway, I won't commit on this further and from here will leave this to Greg, that's best at this point, it's his domain. > But as a distro maintainer it's much nicer to have a Fixes: > 123412341234 ("Add new wifi driver"). I see your point and agree that it would be nice to have. At the same time I've seen people on the lists that don't like to use the Fixes: tag when nothing is "fixed". And it would be an additional burden for developers to look the commit-id up. So it could contribute to the "checkpatch is asking too much here and not worth the trouble" stance I've seen a few times (to which I contributed myself... :-/ ). Ciao, Thorsten