ARM: davinci: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 10:20:20 +0000 (12:20 +0200)
committerSekhar Nori <nsekhar@ti.com>
Tue, 21 Jul 2020 14:51:33 +0000 (20:21 +0530)
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 <grandmaster@al2klimov.de>
[nsekhar@ti.com: drop obsolete hawkboard.org URL completeley
 fixup subject line prefix]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
13 files changed:
arch/arm/boot/dts/da850-evm.dts
arch/arm/mach-davinci/Kconfig
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-davinci/board-mityomapl138.c
arch/arm/mach-davinci/board-neuros-osd2.c
arch/arm/mach-davinci/board-omapl138-hawk.c
arch/arm/mach-davinci/cpuidle.c
arch/arm/mach-davinci/cpuidle.h
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/da8xx-dt.c
arch/arm/mach-davinci/include/mach/pm.h
arch/arm/mach-davinci/pm.c
arch/arm/mach-davinci/sleep.S

index f2e7609e5346afc6145379b9adcb2d4080f35157..87c517d65f62fee6b439c8d32fcd9361e52a3f3e 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Device Tree for DA850 EVM board
  *
- * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
  */
 /dts-v1/;
 #include "da850.dtsi"
index d028d38a44bfedba464728573d937bab6408e6bb..f56ff8c24043db3041cdbe27cce14a0353d899a7 100644 (file)
@@ -201,15 +201,13 @@ config MACH_MITYOMAPL138
        help
          Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
          System on Module.  Information on this SoM may be found at
-         http://www.mitydsp.com
+         https://www.mitydsp.com
 
 config MACH_OMAPL138_HAWKBOARD
        bool "TI AM1808 / OMAPL-138 Hawkboard platform"
        depends on ARCH_DAVINCI_DA850
        help
          Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
-         Information of this board may be found at
-         http://www.hawkboard.org/
 
 config DAVINCI_MUX
        bool "DAVINCI multiplexing support"
index 5b3549f1236c56ee787b10ec43ef2aac93a4e583..6751292e5f8f77b43d46f23d0c4cdd151c5291de 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * TI DA850/OMAP-L138 EVM board
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
  *
  * Derived from: arch/arm/mach-davinci/board-da830-evm.c
  * Original Copyrights follow:
index dfce421c0579782e963431b5947c541887f12a56..3382b93d9a2abfd86188a9523bff4e12d71c968f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Critical Link MityOMAP-L138 SoM
  *
- * Copyright (C) 2010 Critical Link LLC - http://www.criticallink.com
+ * Copyright (C) 2010 Critical Link LLC - https://www.criticallink.com
  *
  * This file is licensed under the terms of the GNU General Public License
  * version 2. This program is licensed "as is" without any warranty of
index ce99f782811a228f4a42bedc6825aafffef49599..6cf46bbc7e1dca6c4562e11ae005e374d9b34f95 100644 (file)
@@ -214,7 +214,7 @@ static __init void davinci_ntosd2_init(void)
         * Mux the pins to be GPIOs, VLYNQEN is already done at startup.
         * The AEAWx are five new AEAW pins that can be muxed by separately.
         * They are a bitmask for GPIO management. According TI
-        * documentation (http://www.ti.com/lit/gpn/tms320dm6446) to employ
+        * documentation (https://www.ti.com/lit/gpn/tms320dm6446) to employ
         * gpio(10,11,12,13) for leds any combination of bits works except
         * four last. So we are to reset all five.
         */
index 5390a8630cf071273fe703dd6f13b58b2ceb1430..6c79039002c915626e7af11c491ce03aaf1b055c 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Initial code: Syed Mohammed Khasim
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com
  *
  * This file is licensed under the terms of the GNU General Public License
  * version 2. This program is licensed "as is" without any warranty of
index b795f671bd0340a43a88e3f990e665dab2184fa9..dd38785536d51e933dc98f4d2c3ff0ae1f74741d 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * CPU idle for DaVinci SoCs
  *
- * Copyright (C) 2009 Texas Instruments Incorporated. http://www.ti.com/
+ * Copyright (C) 2009 Texas Instruments Incorporated. https://www.ti.com/
  *
  * Derived from Marvell Kirkwood CPU idle code
  * (arch/arm/mach-kirkwood/cpuidle.c)
index 74f088b0edfb0c141794833c34e9622d4357358a..0d9193aefab51616a4e981458bea808ff8223888 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * TI DaVinci cpuidle platform support
  *
- * 2009 (C) Texas Instruments, Inc. http://www.ti.com/
+ * 2009 (C) Texas Instruments, Inc. https://www.ti.com/
  *
  * This file is licensed under the terms of the GNU General Public License
  * version 2. This program is licensed "as is" without any warranty of any
index 73b7cc53f966843b68efe701e164195b4a582422..68156e7239a68b8e8834a39125a89c158732aff8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * TI DA850/OMAP-L138 chip specific setup
  *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
  *
  * Derived from: arch/arm/mach-davinci/da830.c
  * Original Copyrights follow:
index 9c0dd028d5adba031001e627d8d0f12680e08da0..0cd2f30aeb9c208e82cae8369638b7e5dd1c3822 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
  *
  * Modified from mach-omap/omap2/board-generic.c
  */
index 37b19bf35a85bece58ec9ded469ca4b9d93b7c17..5a5f0ecc07044c657868d1f874fec2295007b737 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * TI DaVinci platform support for power management.
  *
- * Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.com/
+ * Copyright (C) 2009 Texas Instruments, Inc. https://www.ti.com/
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
index e33c6bcb4598c636863f095827737e965faba9e3..323ee4e657c45fcb78468bea2dfd8404feb58521 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * DaVinci Power Management Routines
  *
- * Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.com/
+ * Copyright (C) 2009 Texas Instruments, Inc. https://www.ti.com/
  */
 
 #include <linux/pm.h>
index 71262dcdbca32aea22714945f43bc6671c71c8a9..d5affab4396d7b060369425f7ceeb613fc712650 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * (C) Copyright 2009, Texas Instruments, Inc. http://www.ti.com/
+ * (C) Copyright 2009, Texas Instruments, Inc. https://www.ti.com/
  */
 
 /* replicated define because linux/bitops.h cannot be included in assembly */