OSDN Git Service

clocksource/drivers: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Wed, 8 Jul 2020 16:58:56 +0000 (18:58 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 23 Jul 2020 14:57:43 +0000 (16:57 +0200)
commitdcf30fc0ca9e2df2f5f9daddd1a0ab8f1ccbc9e4
tree3ae1f9b225da94d20afc79a109e538986d7c49e2
parentaaea0b83458cdb3467e27deb7403b4403152dbd6
clocksource/drivers: 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 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>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200708165856.15322-1-grandmaster@al2klimov.de
Documentation/devicetree/bindings/timer/ti,keystone-timer.txt
drivers/clocksource/timer-ti-32k.c
drivers/clocksource/timer-ti-dm.c