Re: [PATCH] checkpatch: add warning for non-lore mailing list URLs

From: Peter Collingbourne
Date: Thu Nov 03 2022 - 21:07:31 EST


On Wed, Oct 19, 2022 at 03:28:43PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> The lkml.org, marc.info, spinics.net, etc archives are not quite as useful
> as lore.kernel.org because they use different styles, add advertising, and
> may disappear in the future. The lore archives are more consistent and
> more likely to stick around, so prefer https://lore.kernel.org URLs when
> they exist.

If the commit message contains a line like:

Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx

this patch causes checkpatch.pl to complain. Would it be possible to
restrict this to URLs?

Peter