]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mfd: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Wed, 22 Jul 2020 19:24:54 +0000 (21:24 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 13 Aug 2020 06:50:59 +0000 (07:50 +0100)
commit4f4ed4543e2096dc0158ff79bd6d8bc09e27fa93
treee39bead62579cc472c3688bd0773d51c015f9adc
parent3d858942250820b9adc35f963a257481d6d4c81d
mfd: 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: Lee Jones <lee.jones@linaro.org>
21 files changed:
Documentation/devicetree/bindings/mfd/twl-family.txt
drivers/mfd/hi6421-pmic-core.c
drivers/mfd/lp873x.c
drivers/mfd/lp87565.c
drivers/mfd/omap-usb-host.c
drivers/mfd/omap-usb-tll.c
drivers/mfd/ti_am335x_tscadc.c
drivers/mfd/tps65086.c
drivers/mfd/tps65217.c
drivers/mfd/tps65218.c
drivers/mfd/tps65912-core.c
drivers/mfd/tps65912-i2c.c
drivers/mfd/tps65912-spi.c
include/linux/mfd/hi6421-pmic.h
include/linux/mfd/lp873x.h
include/linux/mfd/lp87565.h
include/linux/mfd/ti_am335x_tscadc.h
include/linux/mfd/tps65086.h
include/linux/mfd/tps65217.h
include/linux/mfd/tps65218.h
include/linux/mfd/tps65912.h