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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96AAFC433E1 for ; Sun, 21 Jun 2020 18:09:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8629D2522B for ; Sun, 21 Jun 2020 18:09:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730578AbgFUSJg (ORCPT ); Sun, 21 Jun 2020 14:09:36 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:39934 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730550AbgFUSJf (ORCPT ); Sun, 21 Jun 2020 14:09:35 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id D2B2D467EF; Sun, 21 Jun 2020 18:09:28 +0000 (UTC) Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/process To: Joe Perches , Miguel Ojeda Cc: Jonathan Corbet , Randy Dunlap , Tony Fischetti , Chris Packham , Mauro Carvalho Chehab , Nick Desaulniers , "Jason A. Donenfeld" , Arnd Bergmann , Andrew Morton , Borislav Petkov , Will Deacon , "Chang S. Bae" , Pankaj Bharadiya , Kees Cook , Geert Uytterhoeven , Jacob Huisman , Federico Vaga , =?UTF-8?Q?Jonathan_Neusch=c3=a4fer?= , Konstantin Ryabitsev , Linux Doc Mailing List , linux-kernel , clang-built-linux References: <20200621133630.46435-1-grandmaster@al2klimov.de> <2c60a30eb1fd3616fccd496e76d3d1cc54afc732.camel@perches.com> From: "Alexander A. Klimov" Message-ID: <61b1a32f-e49b-6667-6fe3-d4348b7cf38c@al2klimov.de> Date: Sun, 21 Jun 2020 20:09:27 +0200 MIME-Version: 1.0 In-Reply-To: <2c60a30eb1fd3616fccd496e76d3d1cc54afc732.camel@perches.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de X-Spamd-Bar: / Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 21.06.20 um 19:42 schrieb Joe Perches: > 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 >>> 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); > + } > + Good idea! > # discourage the use of boolean for type definition attributes of Kconfig options > if ($realfile =~ /Kconfig/ && > $line =~ /^\+\s*\bboolean\b/) { > >