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)
commit5f1d8970d4cdba6ef3b2f3f11ef15edd62ce551a
tree4ae84c72376d0c9d2fb67e5241002255fac89137
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
Replace HTTP links with HTTPS ones: Common CLK framework

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