[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c60a30eb1fd3616fccd496e76d3d1cc54afc732.camel@perches.com>
Date: Sun, 21 Jun 2020 10:42:38 -0700
From: Joe Perches <joe@...ches.com>
To: "Alexander A. Klimov" <grandmaster@...klimov.de>,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Jonathan Corbet <corbet@....net>,
Randy Dunlap <rdunlap@...radead.org>,
Tony Fischetti <tony.fischetti@...il.com>,
Chris Packham <chris.packham@...iedtelesis.co.nz>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
"Jason A. Donenfeld" <Jason@...c4.com>,
Arnd Bergmann <arnd@...db.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Borislav Petkov <bp@...e.de>, Will Deacon <will@...nel.org>,
"Chang S. Bae" <chang.seok.bae@...el.com>,
Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@...el.com>,
Kees Cook <keescook@...omium.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Jacob Huisman <jacobhuisman@...nelthusiast.com>,
Federico Vaga <federico.vaga@...a.pv.it>,
Jonathan Neuschäfer <j.neuschaefer@....net>,
Konstantin Ryabitsev <konstantin@...uxfoundation.org>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] Replace HTTP links with HTTPS ones:
Documentation/process
On Sun, 2020-06-21 at 16:30 +0200, Alexander A. Klimov wrote:
> Am 21.06.20 um 15:46 schrieb Miguel Ojeda:
> > On Sun, Jun 21, 2020 at 3:37 PM Alexander A. Klimov
> > <grandmaster@...klimov.de> wrote:
[]
> > > Replace HTTP with HTTPS.
[]
> W/o a
> such central "rule on how to HTTPSify links"
Maybe:
---
scripts/checkpatch.pl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 524df88f9364..4e49187a6137 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3115,6 +3115,12 @@ sub process {
}
}
+# check for URLs using old http:// links, suggest https:
+ if ($rawline =~ m{^\+.*\bhttp://}) {
+ WARN("HTTP_URL",
+ "Prefer URLs using https: over http:\n" . $herecurr);
+ }
+
# discourage the use of boolean for type definition attributes of Kconfig options
if ($realfile =~ /Kconfig/ &&
$line =~ /^\+\s*\bboolean\b/) {
Powered by blists - more mailing lists