lkml.org 
[lkml]   [2020]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Replace HTTP links with HTTPS ones: Documentation/process
From
Date


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
>>> <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);
> + }
> +
Good idea!

> # discourage the use of boolean for type definition attributes of Kconfig options
> if ($realfile =~ /Kconfig/ &&
> $line =~ /^\+\s*\bboolean\b/) {
>
>

\
 
 \ /
  Last update: 2020-06-21 20:10    [W:0.895 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site