dt-bindings: mfd: dialog: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 5 Jul 2020 07:55:42 +0000 (09:55 +0200)
committerRob Herring <robh@kernel.org>
Wed, 15 Jul 2020 21:46:03 +0000 (15:46 -0600)
commit41722d142bd65327ffb1d81f1c151581564dda06
treedfc7577163eecbaa58ea6acec6f4af7236c6389b
parent54b0e2eb046eb75523eff3ec693a7cc5657589fa
dt-bindings: mfd: dialog: Replace HTTP links with HTTPS ones

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.

Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200705075542.22728-1-grandmaster@al2klimov.de
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/mfd/da9062.txt