Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp201880ybh; Mon, 20 Jul 2020 14:22:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzO19qkEJbswO4oR1D89S2RNp48EeH2SblKqzl8NUrBernkeVLrSydCdm/PF1rvI3zI6g/P X-Received: by 2002:aa7:c341:: with SMTP id j1mr24163183edr.197.1595280155305; Mon, 20 Jul 2020 14:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595280155; cv=none; d=google.com; s=arc-20160816; b=RAbQpYOQknMx87tY3K3r9WdfkbKbS0X1gp9SA4dQnRHqzMkRhCS38fqFbSQ159tqR/ Le3jSTapzF/grKwZt/OWLNQghj58PLNoowiPt/iru6nbt9NUpXVytvGg/6AqFE7ch4v+ cIr4Z6PV148V+cYIRde2pKpEcUOZjPGZDLIZsMmkWhYRcp6pyCLRSPMJoYcvZ7tYoBL9 d+vToCvxdzF93JZ5w0RwC8uHF+qR6GTHifC31NBafVSPZm3QWugFMVUvlhgOFYtAWnVG /dxTOiMC7WfRSjAdeymUxYbE1oizpJnPnPLiqp0bXrVXX7Heqssw0BiSp3qdaHkR1wan cv8A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=uH4MOOGLjyewTg7P2CphFC2rUXE+UjUoQafzeYQetlc=; b=wmeldpTAuTgjyv1j1FZ3oQvxCYfg5KpWYy2tsSDzynXqKPNkLC0TKOt4T6TYy4Ingj QozrxgMuLmoIf5oZ2U+MjQJsNoBLWg5U8Lp3D8Y4CL0yWCQ5zrsXPvSRm3wIX+oSpOym zd3wWF5THsP8UY5+enmqd3mFLc/tHSoO78vTCx//YSQKY9feQqc1hc2jIL42bZlczPKt 07QomeODJ4wUHlejGQuwaQl98JeiYcjvweu/8o/s8DNFJ+JTdWWzPBowLPshOHVud4j3 EamG3S8sezIfQgmvBduQ9vKjgE1A4coZxCqkrNQFWx6VL0uKJNGeOvVOukwnf0EGsIc2 UkVQ== 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 e9si10941543ejj.498.2020.07.20.14.22.10; Mon, 20 Jul 2020 14:22:35 -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 S1726426AbgGTVVU (ORCPT + 99 others); Mon, 20 Jul 2020 17:21:20 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:45952 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbgGTVVU (ORCPT ); Mon, 20 Jul 2020 17:21:20 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 3C2FDBC17B; Mon, 20 Jul 2020 21:21:16 +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 v2] dt-bindings: aspeed-lpc: Replace HTTP links with HTTPS ones Date: Mon, 20 Jul 2020 23:21:10 +0200 Message-Id: <20200720212110.64214-1-grandmaster@al2klimov.de> In-Reply-To: References: 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 --- v2: Left only links to be only HTTPSified. Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt index 86446074e206..a92acf1dd491 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt @@ -37,7 +37,7 @@ syscon as a means to arbitrate access. [0] http://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