Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp915794ybh; Sun, 19 Jul 2020 03:00:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxhYHnMpgXwwtU1peHg5O1NxXV5wNCHuB6cHf5cL5Mh6oghN1JGMwJjC3d4XS5ta2DSFJf X-Received: by 2002:a50:bece:: with SMTP id e14mr16446301edk.190.1595152843703; Sun, 19 Jul 2020 03:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595152843; cv=none; d=google.com; s=arc-20160816; b=fwg3c4V9io3vdnoBs+po6i8LhGxtXef20Ocn2L/pKt2G/3qj16Zg7naNW4edoFa2/h p4S4y8bHvXc0KB8Ecg068LgvXxKqncFFiAcHwQ7l/z7iAnAgleUyZ2ZhyONo33hzeT/Q 0oR9IazIzjb+NgH0YHz8ge/ltLcu6CHVKfGoTCDmUjvNZTFHC5YR6EO5e6ZBlCRYpy0+ m911ZfmXbeZT8X3JBgZkMtzabo6l+KB1mMV3idRyjzY3LPlOmeWP9m7ECv4hDvEROQz6 G6XPF3ZK0+Ogmttdta2SijFylNMyYIqahEueIl8SI3p46d2e2rpNpQnPGUTg2DpkpsD/ eTEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=aevJjmbXh2BFbSqT+XjtqvI/+/qAFQo45OUVanCnhgc=; b=GH6DfQyoIkNUCeQm1EIxOfbqPhdfwvATnPhmfPtTJ1yFIjAFFTBuyXSAl7w12w1Kc9 KYU+gEcVkLTkszqpkD0qUP5EijIzlsvhjKyji3MrywpX/JLsR8qepSKcfbGLbFvn95iM /WNWoWLgwVRd/LBgMgdaA88PgOX2yPsEpDCetygc97VZiuSs+5kPK6knw5MIBh+w0KK6 Gu3GPlRMjJbNs5GdZuugzJ4l6DCW1fe+rI+Jlg+AW7zZQW3VrvDu96ug4Zd85rwzVki0 VWDJuNHW3nbVWsCdmm8VZ37Yd7MEpliKvyhjQMntZCS1tMePXa8CfkRu08Hy8PyuVJNx XM1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du13si8110507ejc.159.2020.07.19.03.00.19; Sun, 19 Jul 2020 03:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726061AbgGSKAJ (ORCPT + 99 others); Sun, 19 Jul 2020 06:00:09 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:53764 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbgGSKAI (ORCPT ); Sun, 19 Jul 2020 06:00:08 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 2A33ABC06F; Sun, 19 Jul 2020 10:00:04 +0000 (UTC) From: "Alexander A. Klimov" To: robh+dt@kernel.org, u.kleine-koenig@pengutronix.de, kernel@pengutronix.de, linux@armlinux.org.uk, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH for v5.9] ARM: dts: efm32: Replace HTTP links with HTTPS ones Date: Sun, 19 Jul 2020 11:59:58 +0200 Message-Id: <20200719095958.57555-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-Spam-Level: ****** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov --- Continuing my work started at 93431e0607e5. See also: git log --oneline '--author=Alexander A. Klimov ' v5.7..master (Actually letting a shell for loop submit all this stuff for me.) If there are any URLs to be removed completely or at least not (just) HTTPSified: Just clearly say so and I'll *undo my change*. See also: https://lkml.org/lkml/2020/6/27/64 If there are any valid, but yet not changed URLs: See: https://lkml.org/lkml/2020/6/26/837 If you apply the patch, please let me know. Sorry again to all maintainers who complained about subject lines. Now I realized that you want an actually perfect prefixes, not just subsystem ones. I tried my best... And yes, *I could* (at least half-)automate it. Impossible is nothing! :) arch/arm/boot/dts/efm32gg-dk3750.dts | 2 +- arch/arm/boot/dts/efm32gg.dtsi | 2 +- arch/arm/mach-efm32/Makefile.boot | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/efm32gg-dk3750.dts b/arch/arm/boot/dts/efm32gg-dk3750.dts index adfa559a488b..f310a8191ce5 100644 --- a/arch/arm/boot/dts/efm32gg-dk3750.dts +++ b/arch/arm/boot/dts/efm32gg-dk3750.dts @@ -3,7 +3,7 @@ * Device tree for EFM32GG-DK3750 development board. * * Documentation available from - * http://www.silabs.com/Support%20Documents/TechnicalDocs/efm32gg-dk3750-ug.pdf + * https://www.silabs.com/Support%20Documents/TechnicalDocs/efm32gg-dk3750-ug.pdf */ /dts-v1/; diff --git a/arch/arm/boot/dts/efm32gg.dtsi b/arch/arm/boot/dts/efm32gg.dtsi index 8a58e49144cc..633c7b0809ed 100644 --- a/arch/arm/boot/dts/efm32gg.dtsi +++ b/arch/arm/boot/dts/efm32gg.dtsi @@ -3,7 +3,7 @@ * Device tree for Energy Micro EFM32 Giant Gecko SoC. * * Documentation available from - * http://www.silabs.com/Support%20Documents/TechnicalDocs/EFM32GG-RM.pdf + * https://www.silabs.com/Support%20Documents/TechnicalDocs/EFM32GG-RM.pdf */ #include "armv7-m.dtsi" diff --git a/arch/arm/mach-efm32/Makefile.boot b/arch/arm/mach-efm32/Makefile.boot index cec195d4fcba..5dde7328a7a9 100644 --- a/arch/arm/mach-efm32/Makefile.boot +++ b/arch/arm/mach-efm32/Makefile.boot @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only # Empty file waiting for deletion once Makefile.boot isn't needed any more. # Patch waits for application at -# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . +# https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . -- 2.27.0