Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2769709rwn; Fri, 9 Sep 2022 21:16:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR4qWRsjiprdCmWV6Gj3o7L6uXMzErXIC0vJnGuq7D4OcJ55DyAFnLDGO2XSzXeIyJSIbj5t X-Received: by 2002:a17:902:e94f:b0:173:d0d:c4f5 with SMTP id b15-20020a170902e94f00b001730d0dc4f5mr16988565pll.167.1662783390686; Fri, 09 Sep 2022 21:16:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662783390; cv=none; d=google.com; s=arc-20160816; b=a+GYfNSDkmfWcFTe+BvhbjbZ+/oCmD4M1Qi8aCvN6cjsuCjWameY6m1lU9A+fJ9U8k 0usVXWeseediOzr8niYeYwv0T1fQqJtx+dBiicOdSRT06nEddBnlGGiFf3GMK1XXlRxy ktmpPXVBjj2YGflM6RNzF3EET8eL7SmnBiojKy3UMMxunGl9Gvb0TiomGZ2RDwiq/mox ygoHvwJrT29KNGEkTMHCIQqp1yzRFWLZrO836em8eRCWO2HQEW5EtyJDgxjpG6E1b+cC EPtC4wlMBcc/j4Jwe0xflM21hOi38kURouO70gfPWIJK2i9LmcZHm/WqCYnnksw8BGra zeHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=etDDwL/VdMRgg8jqH8Bt6z7hLJgPzciOR/YMZHKkeVQ=; b=DAETXCn/LdUaIJBE4QLL8DjHZekSZof5WMPGFsz65tP97wAZP6O55WhVrhcZvGlimN 4ZfSB2BBlScOzVWi7vewN3BsT/r93z+JEX8Y2i+m4bSHY8ENi6fDV7FeG0xD2OtSqwm0 TUyMrXgBqhhYhJ0wKG9a/BsFwOl5QvjAF1SQS4VFAS0QgaJYiXqYdHKb54oMRn17uy+T xcxwI8rf3EBPGzo8MeLHds/gz33GoUkLaTNookNbFyHR4tsTsXahpOG68SmarhhLGQ7s +YfzMPnsNRdC8+RsX5IzT3+gKkEr1Qs7pmO/s/3jYcv2DJl04Ff8Qxc0B7+6bNMzvQZk Tt3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a056a0015c500b0053e23233b60si1380820pfu.70.2022.09.09.21.15.56; Fri, 09 Sep 2022 21:16:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229607AbiIJCws convert rfc822-to-8bit (ORCPT + 99 others); Fri, 9 Sep 2022 22:52:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229809AbiIJCwm (ORCPT ); Fri, 9 Sep 2022 22:52:42 -0400 Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD28BE622B; Fri, 9 Sep 2022 19:52:37 -0700 (PDT) Received: from omf19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id E84DA1C6737; Sat, 10 Sep 2022 02:52:35 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf19.hostedemail.com (Postfix) with ESMTPA id 903D120027; Sat, 10 Sep 2022 02:52:33 +0000 (UTC) Message-ID: Subject: Re: [PATCH v5] checkpatch: warn for non-standard fixes tag style From: Joe Perches To: Niklas =?ISO-8859-1?Q?S=F6derlund?= , Dwaipayan Ray , Lukas Bulwahn , Jonathan Corbet , Andy Whitcroft , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Philippe Schenker , Stephen Rothwell Cc: oss-drivers@corigine.com, Simon Horman , Louis Peens Date: Fri, 09 Sep 2022 19:52:31 -0700 In-Reply-To: <20220909202534.1857709-1-niklas.soderlund@corigine.com> References: <20220909202534.1857709-1-niklas.soderlund@corigine.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-Rspamd-Queue-Id: 903D120027 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Stat-Signature: qwc566poa58ycpu4gq5ugbhxeycc3hto X-Rspamd-Server: rspamout02 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX19n2zYvW1uGKh4qzeWX0sVWcp+JwB/gzjM= X-HE-Tag: 1662778353-845646 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2022-09-09 at 22:25 +0200, Niklas S?derlund wrote: > Add a warning for fixes tags that does not fall in line with the > standards specified by the community. [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -3140,6 +3140,47 @@ sub process { [] > + if ($ctitle ne $title || $tag_case || $tag_space || > + $id_length || $id_case || !$title_has_quotes) { > + WARN("BAD_FIXES_TAG", > + "Please use correct Fixes: style 'Fixes: <12 chars of sha1> (\"\")' - ie: 'Fixes: $cid (\"$ctitle\")'\n" . $herecurr); BTW: Might as well add a --fix for Fixes: if (WARN("...") && $fix) { $fixed[$fixlinenr] = "Fixes: $cid (\"$ctitle\")"; }