Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp4260197ybt; Sun, 5 Jul 2020 23:29:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlPo5GmDKhOl4N/Tjech8smW38s/JsK8HVaHAXmKl83NBEgtUPq74vWARGA9lllQUqRte7 X-Received: by 2002:a50:931e:: with SMTP id m30mr56181352eda.341.1594016944371; Sun, 05 Jul 2020 23:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594016944; cv=none; d=google.com; s=arc-20160816; b=eKZkfcSAWSciCN20DGjCKs31zi7ErKC/3ILs8jd2q4VI6cyHuG0SzuKEuo/DopTfOw qy4toBESkwbsew3Tw3zA34x8oJNg8z7NXTBTXvQSTyViK/L5kjyp9F7+Pssx4CJJv1q7 ZdmRKuQJK9lzxWW34E+6lp4yq7ZxB27nZhWhcOkxR+8WFc05oA13KLE6PJaZO7YzfT5O eS5C1pmKKFpBWOX42MzknJWM21m/WXfKiK9pn7j8GB4AGu3GRTwRH9L//vQD3Bt7wx5u fGblXtJAGLkPkCCTpmTCv+yaRQRc9JOJoEP8d/5z5YbxXoWZUBPiRyg246MroIlXctap OnyQ== 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=Wl/SqH3Kqjo4kRzweC2sTVCGMh0d6cgCFGyl8Bdwssg=; b=otXySQWqx5IZhoms5FHRE4d7lKTKsktGzXykefhLHiFGBqz3j81J2UoYCi3d0NXQrH YBUEd8XFQuJnzXN70r1gFzwjDOcWCccKzkG2KpVbdmOVx7uXD/XybQi7aBH0Rf1gnk+h duZHA451oe2VANIac3PH+nVv6oMDMIyExCSttGrml/qJIEc9yW8rhFRqXT47/fbTbzIB ffowcrHpeZ8pfHAFBrPxQZxpqaGFNxJG2DXYKIv5FU6UGeCicnBVB2owtsKFPhzvcq5G UP2WpZ7g07Kw/BaiTmugph3+/zHMWOBcvnxo/j/yYYWLPi5EY2LS2oqU0yTYVF7JVlaj 6Cqg== 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 r9si12353175ejb.103.2020.07.05.23.28.41; Sun, 05 Jul 2020 23:29:04 -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 S1728720AbgGFG16 (ORCPT + 99 others); Mon, 6 Jul 2020 02:27:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgGFG16 (ORCPT ); Mon, 6 Jul 2020 02:27:58 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC400C061794 for ; Sun, 5 Jul 2020 23:27:57 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 6D79CBC193; Mon, 6 Jul 2020 06:27:55 +0000 (UTC) From: "Alexander A. Klimov" To: hsweeten@visionengravers.com, alexander.sverdlin@gmail.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] Replace HTTP links with HTTPS ones: EP93XX Date: Mon, 6 Jul 2020 08:27:49 +0200 Message-Id: <20200706062749.18552-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 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. If there are any URLs to be removed completely or at least not 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 arch/arm/mach-ep93xx/clock.c | 2 +- arch/arm/mach-ep93xx/soc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c index 2810eb5b2aca..48efefbb54f8 100644 --- a/arch/arm/mach-ep93xx/clock.c +++ b/arch/arm/mach-ep93xx/clock.c @@ -571,7 +571,7 @@ static int __init ep93xx_clock_init(void) /* * EP93xx SSP clock rate was doubled in version E2. For more information * see: - * http://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf + * https://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf */ if (ep93xx_chip_revision() < EP93XX_CHIP_REV_E2) clk_spi.rate /= 2; diff --git a/arch/arm/mach-ep93xx/soc.h b/arch/arm/mach-ep93xx/soc.h index f2dace1c9154..9e4a3b245434 100644 --- a/arch/arm/mach-ep93xx/soc.h +++ b/arch/arm/mach-ep93xx/soc.h @@ -28,7 +28,7 @@ * Configurations. Please refer to "AN273: EP93xx Silicon Rev E Design * Guidelines" for more information. This document can be found at: * - * http://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf + * https://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf */ #define EP93XX_CS0_PHYS_BASE_ASYNC 0x00000000 /* ASDO Pin = 0 */ -- 2.27.0