media: solo6x10: replace http references with https
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Wed, 8 Jul 2020 06:24:20 +0000 (08:24 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 05:52:59 +0000 (07:52 +0200)
commitcf293a4f0e1a94c9a902d54879b189d459113c63
treef7dd180c23c16d2a68a32ce995dbfd3867eccd4b
parentb4cc96f9803a953d2688a77f5f3035a6693b575e
media: solo6x10: replace http references with https

Replace HTTP links with HTTPS ones: SOFTLOGIC 6x10 MPEG CODEC

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`:
  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>
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
16 files changed:
drivers/media/pci/solo6x10/solo6x10-core.c
drivers/media/pci/solo6x10/solo6x10-disp.c
drivers/media/pci/solo6x10/solo6x10-eeprom.c
drivers/media/pci/solo6x10/solo6x10-enc.c
drivers/media/pci/solo6x10/solo6x10-g723.c
drivers/media/pci/solo6x10/solo6x10-gpio.c
drivers/media/pci/solo6x10/solo6x10-i2c.c
drivers/media/pci/solo6x10/solo6x10-jpeg.h
drivers/media/pci/solo6x10/solo6x10-offsets.h
drivers/media/pci/solo6x10/solo6x10-p2m.c
drivers/media/pci/solo6x10/solo6x10-regs.h
drivers/media/pci/solo6x10/solo6x10-tw28.c
drivers/media/pci/solo6x10/solo6x10-tw28.h
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c
drivers/media/pci/solo6x10/solo6x10-v4l2.c
drivers/media/pci/solo6x10/solo6x10.h