dt-bindings: media: xilinx: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 5 Jul 2020 07:55:24 +0000 (09:55 +0200)
committerRob Herring <robh@kernel.org>
Wed, 15 Jul 2020 21:45:03 +0000 (15:45 -0600)
commit54b0e2eb046eb75523eff3ec693a7cc5657589fa
tree1b625d4676371cabfa5278ca165929dd42b87784
parent1094d5db26c21e85cd84c97e28d5ba502603da38
dt-bindings: media: xilinx: 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 both the HTTP and HTTPS versions
          return 200 OK and serve the same content:
            Replace HTTP with HTTPS.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200705075524.22657-1-grandmaster@al2klimov.de
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/media/xilinx/video.txt