Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp898205ybh; Mon, 13 Jul 2020 04:20:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxohkz0o5uaCFuPHyXA2XfMroKHv4KyGh4hFhMLAg+0SgFcyvzbFLdT6dtxm+kNXC5Z6UXb X-Received: by 2002:a05:6402:2350:: with SMTP id r16mr61017188eda.62.1594639204587; Mon, 13 Jul 2020 04:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594639204; cv=none; d=google.com; s=arc-20160816; b=muxTHN6sPzUQLpAR0H9cOrYfFvMc2/ox1oX3jMBnAazTmmEd6XgzaO4UzlPX49DQuz m1XKi8lqQsyvVW6d9nT27JXZrVpzHsGygPF+dobwiVsNxh+n+h3+mI6I55pOEOROAt5N jmah6S4Qee97q+MDiyx4I0OwhLh/lB5dqlatWQydMormrDtKQdlmLovpiuusSfojEaxx gQLe/j5YTA6x2EsamxmXMF2FA8+CrBqTCpLYYluIojPsX2CqVmJ29IhWgV63NTAmzzaL 1XLJPHTYn3SJ8OsCP/Rs6XgOV55owk0WYy7MNTRZzTeeoa3tGU87zr7/fQazbqb4OG1H ykog== 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=J9SOZIKDDDgUTK9amWb5VBzuvZhOhcCOK6LT21VQhTU=; b=ex4o3fiE+RuaeT+FAHB7TbPDlPmYesb/kPnw5DIGInVgTNrzkgcLpDOT/11KfDWPGC nitCxItU/NLIBA1soUs4DZFUA3NoKcTPhNMjWjs90eRF+N7mqAYPkcGE8vLp/Au2JW7o JTaA/wbbLaMvJhSNFaNUBStSJc0Em9E/UsTFvz1kN+KiZyYLqaDOzNsxlvJzbZmO4xYl nNbjTa8WEMEgVKVmvNZqB7hDNJW+Yn6cYU+aeKgnLRGn0np3nMFYBOoPcIkkCXbFD7Vz kGF/oDyYrpDcPs7b5GMXKSwDUGIM+enlHxmpPpowTPReEx/g39HLzCDfdXlyIp57A8Cx 0h9A== 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 bz17si8752993ejc.222.2020.07.13.04.19.40; Mon, 13 Jul 2020 04:20: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 S1729618AbgGMLRA (ORCPT + 99 others); Mon, 13 Jul 2020 07:17:00 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:35130 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729308AbgGMLRA (ORCPT ); Mon, 13 Jul 2020 07:17:00 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 0456FBC0E4; Mon, 13 Jul 2020 11:16:52 +0000 (UTC) From: "Alexander A. Klimov" To: vkoul@kernel.org, dan.j.williams@intel.com, vz@mleia.com, peter.ujfalusi@ti.com, wenwen@cs.uga.edu, chenqiwu@xiaomi.com, grygorii.strashko@ti.com, christophe.jaillet@wanadoo.fr, zou_wei@huawei.com, colin.king@canonical.com, gustavoars@kernel.org, vigneshr@ti.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: "Alexander A. Klimov" Subject: [PATCH] dmaengine: Replace HTTP links with HTTPS ones Date: Mon, 13 Jul 2020 13:16:46 +0200 Message-Id: <20200713111646.33625-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 (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! :) drivers/dma/Kconfig | 2 +- drivers/dma/lpc18xx-dmamux.c | 2 +- drivers/dma/of-dma.c | 2 +- drivers/dma/ti/dma-crossbar.c | 2 +- drivers/dma/ti/k3-psil-am654.c | 2 +- drivers/dma/ti/k3-psil-j721e.c | 2 +- drivers/dma/ti/k3-psil-priv.h | 2 +- drivers/dma/ti/k3-psil.c | 2 +- drivers/dma/ti/k3-udma-glue.c | 2 +- drivers/dma/ti/k3-udma-private.c | 2 +- drivers/dma/ti/k3-udma.c | 2 +- drivers/dma/ti/k3-udma.h | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index de41d7928bff..c7f3d4f2ba9e 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -333,7 +333,7 @@ config INTEL_MIC_X100_DMA More information about the Intel MIC family as well as the Linux OS and tools for MIC to use with this driver are available from - . + . config K3_DMA tristate "Hisilicon K3 DMA support" diff --git a/drivers/dma/lpc18xx-dmamux.c b/drivers/dma/lpc18xx-dmamux.c index df98cae8792b..f3048340ad78 100644 --- a/drivers/dma/lpc18xx-dmamux.c +++ b/drivers/dma/lpc18xx-dmamux.c @@ -5,7 +5,7 @@ * Copyright (C) 2015 Joachim Eastwood * * Based on TI DMA Crossbar driver by: - * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index b2c2b5e8093c..7c35f20d7cd6 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c @@ -4,7 +4,7 @@ * * Based on of_gpio.c * - * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ */ #include diff --git a/drivers/dma/ti/dma-crossbar.c b/drivers/dma/ti/dma-crossbar.c index 4ba8fa5d9c36..d6d16c066042 100644 --- a/drivers/dma/ti/dma-crossbar.c +++ b/drivers/dma/ti/dma-crossbar.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ #include diff --git a/drivers/dma/ti/k3-psil-am654.c b/drivers/dma/ti/k3-psil-am654.c index a896a15908cf..e3821e4dd44e 100644 --- a/drivers/dma/ti/k3-psil-am654.c +++ b/drivers/dma/ti/k3-psil-am654.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ diff --git a/drivers/dma/ti/k3-psil-j721e.c b/drivers/dma/ti/k3-psil-j721e.c index e3cfd5f66842..758d5d331c34 100644 --- a/drivers/dma/ti/k3-psil-j721e.c +++ b/drivers/dma/ti/k3-psil-j721e.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ diff --git a/drivers/dma/ti/k3-psil-priv.h b/drivers/dma/ti/k3-psil-priv.h index a1f389ca371e..23eddd2fdbd3 100644 --- a/drivers/dma/ti/k3-psil-priv.h +++ b/drivers/dma/ti/k3-psil-priv.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com */ #ifndef K3_PSIL_PRIV_H_ diff --git a/drivers/dma/ti/k3-psil.c b/drivers/dma/ti/k3-psil.c index fb7c8150b0d1..ac2068dac70f 100644 --- a/drivers/dma/ti/k3-psil.c +++ b/drivers/dma/ti/k3-psil.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ diff --git a/drivers/dma/ti/k3-udma-glue.c b/drivers/dma/ti/k3-udma-glue.c index 64c8955e0cf1..ecf3ed3178e1 100644 --- a/drivers/dma/ti/k3-udma-glue.c +++ b/drivers/dma/ti/k3-udma-glue.c @@ -2,7 +2,7 @@ /* * K3 NAVSS DMA glue interface * - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com * */ diff --git a/drivers/dma/ti/k3-udma-private.c b/drivers/dma/ti/k3-udma-private.c index 0b8f3dd6b146..32128beeceb2 100644 --- a/drivers/dma/ti/k3-udma-private.c +++ b/drivers/dma/ti/k3-udma-private.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index c91e2dc1bb72..e0b87b9d1d95 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ diff --git a/drivers/dma/ti/k3-udma.h b/drivers/dma/ti/k3-udma.h index 128d8744a435..09798c2820af 100644 --- a/drivers/dma/ti/k3-udma.h +++ b/drivers/dma/ti/k3-udma.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com */ #ifndef K3_UDMA_H_ -- 2.27.0