[PATCH v2] Replace HTTP links with HTTPS ones: Documentation/arm

From: Alexander A. Klimov
Date: Fri Jun 26 2020 - 15:44:24 EST


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.

Signed-off-by: Alexander A. Klimov <grandmaster@xxxxxxxxxxxx>
---
Changes in v2:
Undone all handhelds.org changes and 0 of 0 wearablegroup.org changes.

Documentation/arm/arm.rst | 8 ++---
Documentation/arm/keystone/overview.rst | 4 +--
Documentation/arm/microchip.rst | 30 +++++++++----------
Documentation/arm/sa1100/assabet.rst | 2 +-
.../arm/samsung-s3c24xx/overview.rst | 4 +--
5 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/Documentation/arm/arm.rst b/Documentation/arm/arm.rst
index 2edc509df92a..4f8c4985191f 100644
--- a/Documentation/arm/arm.rst
+++ b/Documentation/arm/arm.rst
@@ -48,12 +48,12 @@ Bug reports etc
---------------

Please send patches to the patch system. For more information, see
- http://www.arm.linux.org.uk/developer/patches/info.php Always include some
+ https://www.arm.linux.org.uk/developer/patches/info.php Always include some
explanation as to what the patch does and why it is needed.

Bug reports should be sent to linux-arm-kernel@xxxxxxxxxxxxxxxxxxxxxx,
or submitted through the web form at
- http://www.arm.linux.org.uk/developer/
+ https://www.arm.linux.org.uk/developer/

When sending bug reports, please ensure that they contain all relevant
information, eg. the kernel messages that were printed before/during
@@ -169,7 +169,7 @@ ST506 hard drives

Previous registrations may be found online.

- <http://www.arm.linux.org.uk/developer/machines/>
+ <https://www.arm.linux.org.uk/developer/machines/>

Kernel entry (head.S)
---------------------
@@ -204,7 +204,7 @@ Kernel entry (head.S)
compile-time code selection method. You can register a new machine via the
web site at:

- <http://www.arm.linux.org.uk/developer/machines/>
+ <https://www.arm.linux.org.uk/developer/machines/>

Note: Please do not register a machine type for DT-only platforms. If your
platform is DT-only, you do not need a registered machine type.
diff --git a/Documentation/arm/keystone/overview.rst b/Documentation/arm/keystone/overview.rst
index cd90298c493c..3e4b2f8f5e8b 100644
--- a/Documentation/arm/keystone/overview.rst
+++ b/Documentation/arm/keystone/overview.rst
@@ -16,7 +16,7 @@ K2HK SoC and EVM
a.k.a Keystone 2 Hawking/Kepler SoC
TCI6636K2H & TCI6636K2K: See documentation at

- http://www.ti.com/product/tci6638k2k
+ https://www.ti.com/product/tci6638k2k
http://www.ti.com/product/tci6638k2h

EVM:
@@ -31,7 +31,7 @@ K2E - 66AK2E05:

See documentation at

- http://www.ti.com/product/66AK2E05/technicaldocuments
+ https://www.ti.com/product/66AK2E05/technicaldocuments

EVM:
https://www.einfochips.com/index.php/partnerships/texas-instruments/k2e-evm.html
diff --git a/Documentation/arm/microchip.rst b/Documentation/arm/microchip.rst
index 9c013299fd3b..4786dd68d325 100644
--- a/Documentation/arm/microchip.rst
+++ b/Documentation/arm/microchip.rst
@@ -26,44 +26,44 @@ the Microchip website: http://www.microchip.com.

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-1768-32-bit-ARM920T-Embedded-Microprocessor-AT91RM9200_Datasheet.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-1768-32-bit-ARM920T-Embedded-Microprocessor-AT91RM9200_Datasheet.pdf

* ARM 926 based SoCs
- at91sam9260

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6221-32-bit-ARM926EJ-S-Embedded-Microprocessor-SAM9260_Datasheet.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6221-32-bit-ARM926EJ-S-Embedded-Microprocessor-SAM9260_Datasheet.pdf

- at91sam9xe

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6254-32-bit-ARM926EJ-S-Embedded-Microprocessor-SAM9XE_Datasheet.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6254-32-bit-ARM926EJ-S-Embedded-Microprocessor-SAM9XE_Datasheet.pdf

- at91sam9261

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6062-ARM926EJ-S-Microprocessor-SAM9261_Datasheet.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6062-ARM926EJ-S-Microprocessor-SAM9261_Datasheet.pdf

- at91sam9263

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6249-32-bit-ARM926EJ-S-Embedded-Microprocessor-SAM9263_Datasheet.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6249-32-bit-ARM926EJ-S-Embedded-Microprocessor-SAM9263_Datasheet.pdf

- at91sam9rl

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/doc6289.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/doc6289.pdf

- at91sam9g20

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/DS60001516A.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/DS60001516A.pdf

- at91sam9g45 family
- at91sam9g45
@@ -73,7 +73,7 @@ the Microchip website: http://www.microchip.com.

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6437-32-bit-ARM926-Embedded-Microprocessor-SAM9M11_Datasheet.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6437-32-bit-ARM926-Embedded-Microprocessor-SAM9M11_Datasheet.pdf

- at91sam9x5 family (aka "The 5 series")
- at91sam9g15
@@ -84,19 +84,19 @@ the Microchip website: http://www.microchip.com.

* Datasheet (can be considered as covering the whole family)

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-11055-32-bit-ARM926EJ-S-Microcontroller-SAM9X35_Datasheet.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-11055-32-bit-ARM926EJ-S-Microcontroller-SAM9X35_Datasheet.pdf

- at91sam9n12

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/DS60001517A.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/DS60001517A.pdf

- sam9x60

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/SAM9X60-Data-Sheet-DS60001579A.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/SAM9X60-Data-Sheet-DS60001579A.pdf

* ARM Cortex-A5 based SoCs
- sama5d3 family
@@ -109,7 +109,7 @@ the Microchip website: http://www.microchip.com.

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-11121-32-bit-Cortex-A5-Microcontroller-SAMA5D3_Datasheet_B.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-11121-32-bit-Cortex-A5-Microcontroller-SAMA5D3_Datasheet_B.pdf

* ARM Cortex-A5 + NEON based SoCs
- sama5d4 family
@@ -121,7 +121,7 @@ the Microchip website: http://www.microchip.com.

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/60001525A.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/60001525A.pdf

- sama5d2 family

@@ -135,7 +135,7 @@ the Microchip website: http://www.microchip.com.

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/DS60001476B.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/DS60001476B.pdf

* ARM Cortex-M7 MCUs
- sams70 family
@@ -173,7 +173,7 @@ the Microchip website: http://www.microchip.com.

* Datasheet

- http://ww1.microchip.com/downloads/en/DeviceDoc/SAM-E70-S70-V70-V71-Family-Data-Sheet-DS60001527D.pdf
+ https://ww1.microchip.com/downloads/en/DeviceDoc/SAM-E70-S70-V70-V71-Family-Data-Sheet-DS60001527D.pdf


Linux kernel information
diff --git a/Documentation/arm/sa1100/assabet.rst b/Documentation/arm/sa1100/assabet.rst
index a761e128fb08..eef26909686a 100644
--- a/Documentation/arm/sa1100/assabet.rst
+++ b/Documentation/arm/sa1100/assabet.rst
@@ -6,7 +6,7 @@ Please see:
http://developer.intel.com

Also some notes from John G Dorsey <jd5q@xxxxxxxxxxxxxx>:
-http://www.cs.cmu.edu/~wearable/software/assabet.html
+https://www.cs.cmu.edu/~wearable/software/assabet.html


Building the kernel
diff --git a/Documentation/arm/samsung-s3c24xx/overview.rst b/Documentation/arm/samsung-s3c24xx/overview.rst
index e9a1dc7276b5..b2eae4d86c96 100644
--- a/Documentation/arm/samsung-s3c24xx/overview.rst
+++ b/Documentation/arm/samsung-s3c24xx/overview.rst
@@ -140,7 +140,7 @@ Adding New Machines
Read the kernel patch submission policies as well as the
Documentation/arm directory before submitting patches. The
ARM kernel series is managed by Russell King, and has a patch system
- located at http://www.arm.linux.org.uk/developer/patches/
+ located at https://www.arm.linux.org.uk/developer/patches/
as well as mailing lists that can be found from the same site.

As a courtesy, please notify <ben-linux@xxxxxxxxx> of any new
@@ -148,7 +148,7 @@ Adding New Machines

Any large scale modifications, or new drivers should be discussed
on the ARM kernel mailing list (linux-arm-kernel) before being
- attempted. See http://www.arm.linux.org.uk/mailinglists/ for the
+ attempted. See https://www.arm.linux.org.uk/mailinglists/ for the
mailing list information.


--
2.27.0