mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: "Alexander A. Klimov" <grandmaster@al2klimov.de>,
	Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Cc: "Jonathan Corbet" <corbet@lwn.net>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"Tony Fischetti" <tony.fischetti@gmail.com>,
	"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
	"Mauro Carvalho Chehab" <mchehab+samsung@kernel.org>,
	"Nick Desaulniers" <ndesaulniers@google.com>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Borislav Petkov" <bp@suse.de>, "Will Deacon" <will@kernel.org>,
	"Chang S. Bae" <chang.seok.bae@intel.com>,
	"Pankaj Bharadiya" <pankaj.laxminarayan.bharadiya@intel.com>,
	"Kees Cook" <keescook@chromium.org>,
	"Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Jacob Huisman" <jacobhuisman@kernelthusiast.com>,
	"Federico Vaga" <federico.vaga@vaga.pv.it>,
	"Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
	"Konstantin Ryabitsev" <konstantin@linuxfoundation.org>,
	"Linux Doc Mailing List" <linux-doc@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	clang-built-linux <clang-built-linux@googlegroups.com>
Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/process
Date: Sun, 21 Jun 2020 10:42:38 -0700	[thread overview]
Message-ID: <2c60a30eb1fd3616fccd496e76d3d1cc54afc732.camel@perches.com> (raw)
In-Reply-To: <b7ba0047-8993-d3bf-327c-1fb70bc0282c@al2klimov.de>

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@al2klimov.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/) {



  reply	other threads:[~2020-06-21 17:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 13:36 Alexander A. Klimov
2020-06-21 13:46 ` Miguel Ojeda
2020-06-21 14:30   ` Alexander A. Klimov
2020-06-21 17:42     ` Joe Perches [this message]
2020-06-21 18:09       ` Alexander A. Klimov
2020-06-21 23:43     ` Miguel Ojeda
2020-06-22 13:06       ` Jonathan Corbet
2020-06-22 17:03         ` Miguel Ojeda
2020-06-22 17:29           ` Joe Perches
2020-06-22 20:06             ` Miguel Ojeda
2020-06-22 20:15               ` Alexander A. Klimov
2020-06-26 17:20 ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c60a30eb1fd3616fccd496e76d3d1cc54afc732.camel@perches.com \
    --to=joe@perches.com \
    --cc=Jason@zx2c4.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=bp@suse.de \
    --cc=chang.seok.bae@intel.com \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=clang-built-linux@googlegroups.com \
    --cc=corbet@lwn.net \
    --cc=federico.vaga@vaga.pv.it \
    --cc=geert@linux-m68k.org \
    --cc=grandmaster@al2klimov.de \
    --cc=j.neuschaefer@gmx.net \
    --cc=jacobhuisman@kernelthusiast.com \
    --cc=keescook@chromium.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab+samsung@kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=ndesaulniers@google.com \
    --cc=pankaj.laxminarayan.bharadiya@intel.com \
    --cc=rdunlap@infradead.org \
    --cc=tony.fischetti@gmail.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®