media: davinci: replace http references with https
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Thu, 9 Jul 2020 07:28:14 +0000 (09:28 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 05:54:47 +0000 (07:54 +0200)
commitbb79974cdf953dc49ef653c59fda4daf1acc32b9
treec4820effcfd73084c54d9f3d34b84196ca0eb4d0
parentcf293a4f0e1a94c9a902d54879b189d459113c63
media: davinci: replace http references with https

TI DAVINCI SERIES MEDIA DRIVER: 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`:
  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>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/davinci/vpbe_display.c
drivers/media/platform/davinci/vpif.c
drivers/media/platform/davinci/vpif.h
drivers/media/platform/davinci/vpif_display.c
drivers/media/platform/davinci/vpif_display.h
include/media/davinci/vpbe_display.h