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 0D407C4708C for ; Tue, 6 Dec 2022 01:20:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232870AbiLFBUH convert rfc822-to-8bit (ORCPT ); Mon, 5 Dec 2022 20:20:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232616AbiLFBUD (ORCPT ); Mon, 5 Dec 2022 20:20:03 -0500 Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FC461F63E for ; Mon, 5 Dec 2022 17:20:02 -0800 (PST) Received: from omf10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 4104BA053A; Tue, 6 Dec 2022 01:20:01 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf10.hostedemail.com (Postfix) with ESMTPA id 083A42F; Tue, 6 Dec 2022 01:19:58 +0000 (UTC) Message-ID: Subject: Re: Fw: [PATCH 0/2] feat: checkpatch: prohibit Buglink: and warn about missing Link: From: Joe Perches To: Andrew Morton , Kai =?ISO-8859-1?Q?Wasserb=E4ch?= Cc: Thorsten Leemhuis , LKML , Dwaipayan Ray Date: Mon, 05 Dec 2022 17:19:58 -0800 In-Reply-To: <11a9fe60f5333a931b8d75f67808b6d923c16dfa.camel@perches.com> References: <20221205131424.36909375d90d5a40cd028bc0@linux-foundation.org> <11a9fe60f5333a931b8d75f67808b6d923c16dfa.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Rspamd-Queue-Id: 083A42F X-Rspamd-Server: rspamout03 X-Stat-Signature: w33rbwrd4t6q5si4sg6iz93zhsqmdoxd X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1+qc+dyZOtQx4O+ReY0kMcXk2x19E1Ap0o= X-HE-Tag: 1670289598-276003 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2022-12-05 at 17:02 -0800, Joe Perches wrote: > On Mon, 2022-12-05 at 13:14 -0800, Andrew Morton wrote: > > Date: Sun, 4 Dec 2022 12:33:37 +0100 > > From: Kai Wasserbäch [] > > - 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. > Maybe. I don't know there are that many generic functions > that could be used. You are welcome find some. uniq isn't used in checkpatch since commit 52178ce01335d9d76611c3a5198b8778cb9b03f5 Author: Dwaipayan Ray Date: Fri Feb 26 15:08:26 2021 +0530 checkpatch: add verbose mode and could be removed.