Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4557854rwb; Sun, 4 Dec 2022 04:22:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf6wsoJ4SfWWn7GGgoZnYVJd7hyyDrewD0HgsGSAK1N6naanJKHL3qgGl8R/8RU4wko3suim X-Received: by 2002:a17:903:1341:b0:189:9a36:a5a8 with SMTP id jl1-20020a170903134100b001899a36a5a8mr27302862plb.151.1670156557926; Sun, 04 Dec 2022 04:22:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670156557; cv=none; d=google.com; s=arc-20160816; b=mbL4CPEp/5FtZhXacc6EwGzqTTuqGfGe77Rc8C61+NfnK6pdzdkgKZo/a0ozK3SL+P qI8+ffX+ZqNNcYK9K/1ccnNGCn3h7J7QxFLGqNEG/HrXbnxC8Ib6wWdzsPDuYekPo3LC 5jXBqHcdUCD/9jVSZFXgv/gH6yFPa6ezwYVjcSYGEpM4LafrbYCDCweuu+JgdZX3+NtW TCeG5qNzGSBtqtSxkb0tzO/A/3Jtd7thX6YRQmaRO04z3pbX+43cQiiMN5ARmjJw1AEO TgAyPRhK1cAQGzQuFeQropCYIu7J2BLUJcQBuEY6YlqV1dXH1r7KJsrIPpKpNo/BPFtL VSVA== 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 :message-id:date:subject:cc:to:from; bh=pCQr4GV+jRSY/d8ghNLaGRCeIubK8j1rly+uS8zd8oU=; b=BtpkaPn17PvgqteeYUnISECny6Ed0IGy+zR1FZKfJX3RoJcgC0hkxerUNIJwwE0kYI AdzJLJ618ApR+zRK4+kZpbiZlliWu9mW8q4J45dfIRF1mysKqMtuEPyphwCqg1pxvmu7 4z/VBwh0a3spuKygvnfvx3i4GUH/LI9XUPRrvWmuoLKeTOCkFa+DoBqJJGDOznZRaSKx +obpfkgnKnXJwotJdAMNMCdaUCpHQC4uTjEGGHbNnIhRdGD2L7HpDcb/psdVKfXwvaop +YM2cE7lzzEmLe7xQyWjBf/QWaiQ9wP9tdadsOOMLpMWD0JcbfyUIddfpCcWX8p7iR3J u6Pw== 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 pg14-20020a17090b1e0e00b00213255221e3si16192461pjb.1.2022.12.04.04.22.27; Sun, 04 Dec 2022 04:22:37 -0800 (PST) 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 S230012AbiLDLjf (ORCPT + 82 others); Sun, 4 Dec 2022 06:39:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbiLDLjC (ORCPT ); Sun, 4 Dec 2022 06:39:02 -0500 Received: from blackmesa.kw-serverwartung.de (blackmesa.kw-serverwartung.de [78.46.90.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A067718399 for ; Sun, 4 Dec 2022 03:38:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by blackmesa.kw-serverwartung.de (Postfix) with ESMTP id 984A27B81E1; Sun, 4 Dec 2022 11:33:47 +0000 (UTC) Received: from blackmesa.kw-serverwartung.de ([127.0.0.1]) by localhost (blackmesa.kw-serverwartung.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3hCDRkJgxtpH; Sun, 4 Dec 2022 11:33:45 +0000 (UTC) Received: from citadel.fritz.box (i5C74630E.versanet.de [92.116.99.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by blackmesa.kw-serverwartung.de (Postfix) with ESMTPSA id 0A33C7B80BE; Sun, 4 Dec 2022 11:33:44 +0000 (UTC) From: =?UTF-8?q?Kai=20Wasserb=C3=A4ch?= To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Thorsten Leemhuis Subject: [PATCH 0/2] feat: checkpatch: prohibit Buglink: and warn about missing Link: Date: Sun, 4 Dec 2022 12:33:37 +0100 Message-Id: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 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 Hey, Thorsten Leemhuis suggested the following two changes to checkpatch, which I hereby humbly submit for review. Please let me know if any changes would be required for acceptance. NOTES: - checkpatch is rather long, so I might have chosen the wrong section to add these two checks. Any better placement suggestion is welcome. - checkpatch implements custum versions of Perl core modules, that might be an future area for clean-ups? Eg. right off the bat there is a `uniq` implementation. List::Util (core module since 5.8.0 (5.7.3 to be pedantic)) has a far better performing version in XS. Cheers, Kai Suggested-by: Thorsten Leemhuis Signed-off-by: Kai Wasserbäch Kai Wasserbäch (2): feat: checkpatch: error on usage of a Buglink tag in the commit log feat: checkpatch: Warn about Reported-by: not being followed by a Link: scripts/checkpatch.pl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.35.1