Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp230477ybh; Sat, 18 Jul 2020 02:07:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVYIVtEDz78W1TNYs0U4wCB6uJI8VTLhKbHiG7np0KtlECNLu5rCKiqUrP56VJq0B5Fvd7 X-Received: by 2002:a17:906:c18d:: with SMTP id g13mr11740644ejz.239.1595063219871; Sat, 18 Jul 2020 02:06:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595063219; cv=none; d=google.com; s=arc-20160816; b=t4mDT557MNgXV/LrDlMHqRLhnZ8PiHROLZtWXQJBnBvXQul/NlSutC+iGE1x7jrIkR hWYb6DGvn5wUnLC8ZtQaZCtQfgycPv7gEAvOWI4plDdMlc3IIafO3FKRn3gq8rIvz+ia wTgFxe9Gwai/C4BdiCCWHe6VTdCyzcB6aY2rDI3M6uaBbhCJXTuU0gfAZZz/r5pwElrw gYhqUhMcZBVZF6SC7HPM6wyu7S6Xx1uc9RflDchsGTVKltAGGCy3iogw0GdIwE376V8w FJGmz0uCX52cF6a8W81UbEAqD2TIFU1dyO3mtb0e/g3vjlA0/XnA1gBrJ7jjwecEVOkP SWzg== 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=6FagxPE2ZdKQaLtf+0tTKW0BUHGxnW7O3Uh9Oe7+xRE=; b=biTkPpamTFm/tTEInI8Zr0RFlmoAA2yUXV30Ijr0In6LXFOM48THb8rcbPNVkvXOP6 XC+agYt4T/Fg2C8yMAbw5LuNg2HCDVSlBdSPDmbJWJCej5y9QTA55rB2/7zO9icqdzgU h4ANk0P8iIx3/kI1ES/LjiDAEmCWt1GCAWVN9LYnlkjoplG+pj2P7tgUkefNRc8K8gfv MaOv1bg99j8v7zEIvtPp6kVO3tBTVyuRJ/ZKWe5V/KPm86JYthyuIabcEr7zw9N+uOJ0 9op2aInXbt5yKme9cNDdDB6p6iIvN2+YTeUVLV+qAhiE8CWYGXlDRQPvVNwzwJ3E7c+f VXRg== 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 lz14si6719313ejb.65.2020.07.18.02.06.34; Sat, 18 Jul 2020 02:06:59 -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 S1726128AbgGRJGY (ORCPT + 99 others); Sat, 18 Jul 2020 05:06:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725809AbgGRJGY (ORCPT ); Sat, 18 Jul 2020 05:06:24 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12AD3C0619D2; Sat, 18 Jul 2020 02:06:24 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 37F7FBC069; Sat, 18 Jul 2020 09:06:21 +0000 (UTC) From: "Alexander A. Klimov" To: adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] mmc: sdhci_am654: Replace HTTP links with HTTPS ones Date: Sat, 18 Jul 2020 11:06:14 +0200 Message-Id: <20200718090614.88946-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 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 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. drivers/mmc/host/sdhci_am654.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index 061b4398a4f1..f2c89f0c0263 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -2,7 +2,7 @@ /* * sdhci_am654.c - SDHCI driver for TI's AM654 SOCs * - * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com * */ #include -- 2.27.0