PCI: Replace http:// links with https://
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sat, 27 Jun 2020 10:30:50 +0000 (12:30 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jun 2020 18:05:09 +0000 (13:05 -0500)
commit7ecd4a8175104b55de120dd8847e0bfabf7d75aa
tree00d5288b2b021ac8c6d51fb4424b5236db19c5a8
parentb91535812d663acc47952d05386c8a126eae8080
PCI: Replace http:// links with https://

Replace http:// links with https:// links.  This reduces the likelihood of
man-in-the-middle attacks when developers open these links.

  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.

[bhelgaas: also update samsung.com links, drop sourceforge link]
Link: https://lore.kernel.org/r/20200627103050.71712-1-grandmaster@al2klimov.de
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
15 files changed:
Documentation/PCI/pci.rst
Documentation/devicetree/bindings/pci/pci.txt
arch/x86/pci/fixup.c
drivers/pci/controller/dwc/pci-dra7xx.c
drivers/pci/controller/dwc/pci-exynos.c
drivers/pci/controller/dwc/pci-imx6.c
drivers/pci/controller/dwc/pci-keystone.c
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h
drivers/pci/controller/dwc/pcie-kirin.c
drivers/pci/pci-label.c
drivers/pci/pcie/Kconfig
drivers/pci/pcie/aer_inject.c
drivers/pci/quirks.c