From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB1AEC4332F for ; Sun, 4 Dec 2022 11:39:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230186AbiLDLji (ORCPT ); Sun, 4 Dec 2022 06:39:38 -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 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