Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1167486ybh; Sun, 19 Jul 2020 10:35:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVYsQWGj0cSgzzRGE1ApDrMqlUQAbq4dDv/qLaPqYottoqa77XaekOQ/wtMSeo9oTZelmQ X-Received: by 2002:a17:906:dbcf:: with SMTP id yc15mr16837361ejb.222.1595180142523; Sun, 19 Jul 2020 10:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595180142; cv=none; d=google.com; s=arc-20160816; b=BQQrBNb0UYgfzN5Ao8wiT8XuHVtluOuVAjkZhPlxxtlKMcrCrTLjKMZtqh05fSd0A0 EyTut1KrKIDlquFLuSkCAZpBGPDNHL5aQMaeF1cbZpe4x5V7MoZlaWQbtKiJML2ML3+8 QiUk+apzL/1vfyaWyUcRfxjKFGaCHMU/2KslhlGLmSKdQIqqHi0Gkq4AtciEkXD30b4M krFk4EecgKqC0jlS1kfKRHQwzkjNnSxagIIXrUQPO16ZZ4ChFPZeMOiUwgPrm3vnmf78 UGiorr3Eks78CJ5ycP+qKdwTLWezfxzsXKrk/sG0D2fIbvfKzIOPN0Z7Zy5H8f4zSDcp ROaQ== 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=OEiSOZ5PqevwrTVlaoA+j5aiSexRmQcE7ilE1Dw899A=; b=BHj5PUbsm+Gqn4z/6E8elMP8w8nRuZJ+2Px8i5cERlL7b0UCJeAwONbyLqxFAnWbAG NOVIU3ks8eeVfQ5WsuWMaI5emE/6eW3iRs/T1lGR8NMJWimAluCy4EBvmdyPIlcKxdzc La/NzO1kNt6QqfdNzyjICk2jvGaZWVHjKRPDXrcsfd/9p2yNnXz+I+wYqHWfKH4oCWzh rhhhh683L5Squ3BObb98zYjddbuMWmzpeM8D9DFgZZldBFiwGtOVfuXovlp4/tqjrZVs jcTbUGb6I4LuHcta91Bj3oSIARI4GZp0oiEoje0PPnrFawoXPaZ8h94sJphMJE4lfT45 u0vw== 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 u17si9703338ejj.13.2020.07.19.10.35.10; Sun, 19 Jul 2020 10:35:42 -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 S1726093AbgGSRe6 (ORCPT + 99 others); Sun, 19 Jul 2020 13:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbgGSRe6 (ORCPT ); Sun, 19 Jul 2020 13:34:58 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 060C7C0619D2; Sun, 19 Jul 2020 10:34:57 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 3CB09BC063; Sun, 19 Jul 2020 17:34:54 +0000 (UTC) From: "Alexander A. Klimov" To: lee.jones@linaro.org, robh+dt@kernel.org, joel@jms.id.au, andrew@aj.id.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH for v5.9] dt-bindings: aspeed-lpc: Replace HTTP links with HTTPS ones Date: Sun, 19 Jul 2020 19:34:47 +0200 Message-Id: <20200719173447.60603-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! :) Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt index 86446074e206..4f3cf91b3b7f 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt @@ -35,9 +35,9 @@ Additionally the state of the LPC controller influences the pinmux configuration, therefore the host portion of the controller is exposed as a syscon as a means to arbitrate access. -[0] http://www.intel.com/design/chipsets/industry/25128901.pdf +[0] https://www.intel.com/design/chipsets/industry/25128901.pdf [1] https://www.renesas.com/en-sg/doc/products/mpumcu/001/rej09b0078_h8s2168.pdf?key=7c88837454702128622bee53acbda8f4 -[2] http://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf +[2] https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf [3] https://en.wikipedia.org/wiki/Super_I/O Required properties -- 2.27.0