]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1232bd000d9b909bf16d4dba2633ecbbf3c5a4c
tree4ae84c72376d0c9d2fb67e5241002255fac89137
parent2e0873da09585b8a2daf9ca8c2facd15f454ec3f
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