Re: Fw: [PATCH 0/2] feat: checkpatch: prohibit Buglink: and warn about missing Link:

From: Joe Perches
Date: Mon Dec 05 2022 - 20:20:09 EST


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 <kai@xxxxxxxxxxxxxxxxxxxxxx>
[]
> > - 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 <dwaipayanray1@xxxxxxxxx>
Date: Fri Feb 26 15:08:26 2021 +0530

checkpatch: add verbose mode

and could be removed.