ASoC: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 15:38:22 +0000 (17:38 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jul 2020 13:31:55 +0000 (14:31 +0100)
commit5856d8bd308f9467cefa65d04e184a56a3977559
treed38edd85356f693a3378ecdebb99640de7d48827
parent43a10bf49f11a952ea927beceb9f6ee866ff1523
ASoC: 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>
Link: https://lore.kernel.org/r/20200719153822.59788-1-grandmaster@al2klimov.de
Signed-off-by: Mark Brown <broonie@kernel.org>
27 files changed:
Documentation/devicetree/bindings/sound/adi,adau1977.txt
Documentation/devicetree/bindings/sound/tas2552.txt
Documentation/devicetree/bindings/sound/tas5720.txt
Documentation/devicetree/bindings/sound/ti,tas6424.txt
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml
Documentation/sound/soc/dai.rst
sound/soc/cirrus/ep93xx-ac97.c
sound/soc/codecs/hdmi-codec.c
sound/soc/codecs/max9850.c
sound/soc/codecs/mc13783.c
sound/soc/codecs/pcm186x-i2c.c
sound/soc/codecs/pcm186x-spi.c
sound/soc/codecs/pcm186x.c
sound/soc/codecs/pcm186x.h
sound/soc/codecs/tas2552.c
sound/soc/codecs/tas2552.h
sound/soc/codecs/tas2562.h
sound/soc/codecs/tas2770.c
sound/soc/codecs/tas2770.h
sound/soc/codecs/tas5720.c
sound/soc/codecs/tas5720.h
sound/soc/codecs/tas6424.c
sound/soc/codecs/tas6424.h
sound/soc/codecs/tlv320adcx140.c
sound/soc/codecs/tlv320adcx140.h
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic31xx.h