Replace HTTP links with HTTPS ones: Common CLK framework
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Fri, 3 Jul 2020 17:51:14 +0000 (19:51 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 11 Jul 2020 00:15:34 +0000 (17:15 -0700)
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 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>
Link: https://lore.kernel.org/r/20200703175114.15027-1-grandmaster@al2klimov.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
14 files changed:
Documentation/devicetree/bindings/clock/clock-bindings.txt
Documentation/devicetree/bindings/clock/silabs,si514.txt
Documentation/devicetree/bindings/clock/silabs,si5351.txt
Documentation/devicetree/bindings/clock/silabs,si570.txt
Documentation/devicetree/bindings/clock/ti,cdce706.txt
Documentation/devicetree/bindings/clock/ti,cdce925.txt
drivers/clk/clk-cdce706.c
drivers/clk/clk-gpio.c
drivers/clk/clk-si5351.c
drivers/clk/keystone/sci-clk.c
drivers/clk/keystone/syscon-clk.c
drivers/clk/meson/meson8b.h
drivers/clk/versatile/icst.c
drivers/clk/versatile/icst.h

index 8a55fdcf96eeab11c4976c51c11587824d191086..f2ea53832ac63eac9f34b5db49ff3995d23e6522 100644 (file)
@@ -9,7 +9,7 @@ specifier is an array of zero, one or more cells identifying the clock
 output on a device.  The length of a clock specifier is defined by the
 value of a #clock-cells property in the clock provider node.
 
-[1] http://patchwork.ozlabs.org/patch/31551/
+[1] https://patchwork.ozlabs.org/patch/31551/
 
 ==Clock providers==
 
index ea1a9dbc63b6a4e7e5acc9e4868754213fb509aa..a4f28ec86f3555d091a5618427af1e2e9d8ba365 100644 (file)
@@ -6,7 +6,7 @@ found in the datasheet[2].
 
 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
 [2] Si514 datasheet
-    http://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf
+    https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf
 
 Required properties:
  - compatible: Shall be "silabs,si514"
index f00191cad8cdf4f3b8f4d2f6330521cf6173cc8d..8fe6f80afadee1dd54d47f3bf8ac35ea27913dd4 100644 (file)
@@ -2,7 +2,7 @@ Binding for Silicon Labs Si5351a/b/c programmable i2c clock generator.
 
 Reference
 [1] Si5351A/B/C Data Sheet
-    http://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351.pdf
+    https://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351.pdf
 
 The Si5351a/b/c are programmable i2c clock generators with up to 8 output
 clocks. Si5351a also has a reduced pin-count package (MSOP10) where only
index c09f21e1d98f01aed334211936f04972d3acaf8c..901935e929d2fd0a608d1ee38000c3d9c2af926c 100644 (file)
@@ -7,9 +7,9 @@ found in the data sheets[2][3].
 
 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
 [2] Si570/571 Data Sheet
-    http://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf
+    https://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf
 [3] Si598/599 Data Sheet
-    http://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf
+    https://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf
 
 Required properties:
  - compatible: Shall be one of "silabs,si570", "silabs,si571",
index 959d96632f5d20496285cadcb0da4d1253145b0c..21c3ff76478875d632c2fa3f3bfa7f056085fa92 100644 (file)
@@ -1,7 +1,7 @@
 Bindings for Texas Instruments CDCE706 programmable 3-PLL clock
 synthesizer/multiplier/divider.
 
-Reference: http://www.ti.com/lit/ds/symlink/cdce706.pdf
+Reference: https://www.ti.com/lit/ds/symlink/cdce706.pdf
 
 I2C device node required properties:
 - compatible: shall be "ti,cdce706".
index 26544c85202af9406c9ce77815660768b4a3b5b2..df42ab72718ff29fd7aee97ae53c823b8d207d34 100644 (file)
@@ -4,10 +4,10 @@ Reference
 This binding uses the common clock binding[1].
 
 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
-[2] http://www.ti.com/product/cdce913
-[3] http://www.ti.com/product/cdce925
-[4] http://www.ti.com/product/cdce937
-[5] http://www.ti.com/product/cdce949
+[2] https://www.ti.com/product/cdce913
+[3] https://www.ti.com/product/cdce925
+[4] https://www.ti.com/product/cdce937
+[5] https://www.ti.com/product/cdce949
 
 The driver provides clock sources for each output Y1 through Y5.
 
index 239102e37e2ffa3d68f726eae035275543515b69..c91e9096b070e96de87f3f1ae6926b8d2431d539 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (c) 2014 Cadence Design Systems Inc.
  *
- * Reference: http://www.ti.com/lit/ds/symlink/cdce706.pdf
+ * Reference: https://www.ti.com/lit/ds/symlink/cdce706.pdf
  */
 
 #include <linux/clk.h>
index 70397b4b5ffea84b945b197a69d5a328590560b3..38755a241ab76e017c63b178e3f1124ff5b4c900 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Copyright (C) 2013 - 2014 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2013 - 2014 Texas Instruments Incorporated - https://www.ti.com
  *
  * Authors:
  *    Jyri Sarha <jsarha@ti.com>
index 71de3618e5084ce0f77accb1a654648ebbfc3810..1e1702e609cbb006948859433986393690726ea9 100644 (file)
@@ -7,9 +7,9 @@
  *
  * References:
  * [1] "Si5351A/B/C Data Sheet"
- *     http://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351.pdf
+ *     https://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351.pdf
  * [2] "Manually Generating an Si5351 Register Map"
- *     http://www.silabs.com/Support%20Documents/TechnicalDocs/AN619.pdf
+ *     https://www.silabs.com/Support%20Documents/TechnicalDocs/AN619.pdf
  */
 
 #include <linux/module.h>
index 7edf8c8432b67992350dcfb520d87029e49906ce..2ad26cb927fdb9525840e1dc3a401b7ac7f7aaf6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * SCI Clock driver for keystone based devices
  *
- * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
  *     Tero Kristo <t-kristo@ti.com>
  *
  * This program is free software; you can redistribute it and/or modify
index 8d7dbea3bd3007f03b804344fc6948f89d38248b..5b3d36462174724fa376bf8a5b1fec11838f5dd3 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
  */
 
 #include <linux/clk-provider.h>
index cd38ae2a9cb5a52bcc2319ec9a17dfaff5cb8bfd..3958b580d94261bf118e5033f35061b15d4beaa4 100644 (file)
@@ -17,7 +17,7 @@
  * blocks below. Those offsets must be multiplied by 4 before adding them to
  * the base address to get the right value
  *
- * [0] http://dn.odroid.com/S805/Datasheet/S805_Datasheet%20V0.8%2020150126.pdf
+ * [0] https://dn.odroid.com/S805/Datasheet/S805_Datasheet%20V0.8%2020150126.pdf
  */
 #define HHI_GP_PLL_CNTL                        0x40  /* 0x10 offset in data sheet */
 #define HHI_GP_PLL_CNTL2               0x44  /* 0x11 offset in data sheet */
index ba4b2d22ec97b8ebe383962006191bdc17976632..307cb3774f877c88245ba2396e6824e88ef4ecea 100644 (file)
@@ -5,7 +5,7 @@
  *  Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
  *
  *  Support functions for calculating clocks/divisors for the ICST307
- *  clock generators.  See http://www.idt.com/ for more information
+ *  clock generators.  See https://www.idt.com/ for more information
  *  on these devices.
  *
  *  This is an almost identical implementation to the ICST525 clock generator.
index 73a3062b453552454580d2fba2307cfd5ffa62b9..29622768b02a0e569f5a4459fec4c4144996aa6f 100644 (file)
@@ -3,7 +3,7 @@
  *  Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
  *
  *  Support functions for calculating clocks/divisors for the ICST
- *  clock generators.  See http://www.idt.com/ for more information
+ *  clock generators.  See https://www.idt.com/ for more information
  *  on these devices.
  */
 #ifndef ICST_H