Skip to content

Commit

Permalink
hwmon: Replace HTTP links with HTTPS ones
Browse files Browse the repository at this point in the history
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 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
  • Loading branch information
Al2Klimov authored and groeck committed Jul 24, 2020
1 parent f12d634 commit ad736c1
Show file tree
Hide file tree
Showing 28 changed files with 61 additions and 61 deletions.
2 changes: 1 addition & 1 deletion Documentation/hwmon/adc128d818.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Supported chips:

Addresses scanned: I2C 0x1d, 0x1e, 0x1f, 0x2d, 0x2e, 0x2f

Datasheet: Publicly available at the TI website http://www.ti.com/
Datasheet: Publicly available at the TI website https://www.ti.com/

Author: Guenter Roeck

Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/adm1026.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.onsemi.com/PowerSolutions/product.do?id=ADM1026
https://www.onsemi.com/PowerSolutions/product.do?id=ADM1026

Authors:
- Philip Pokorny <[email protected]> for Penguin Computing
Expand Down
4 changes: 2 additions & 2 deletions Documentation/hwmon/adm1031.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.analog.com/en/prod/0%2C2877%2CADM1030%2C00.html
https://www.analog.com/en/prod/0%2C2877%2CADM1030%2C00.html

* Analog Devices ADM1031

Expand All @@ -20,7 +20,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.analog.com/en/prod/0%2C2877%2CADM1031%2C00.html
https://www.analog.com/en/prod/0%2C2877%2CADM1031%2C00.html

Authors:
- Alexandre d'Alton <[email protected]>
Expand Down
8 changes: 4 additions & 4 deletions Documentation/hwmon/adt7410.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
* Analog Devices ADT7420

Prefix: 'adt7420'
Expand All @@ -20,7 +20,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf
https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf

* Analog Devices ADT7310

Expand All @@ -30,7 +30,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf
https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf

* Analog Devices ADT7320

Expand All @@ -40,7 +40,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf
https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf

Author: Hartmut Knaack <[email protected]>

Expand Down
6 changes: 3 additions & 3 deletions Documentation/hwmon/emc1403.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Supported chips:
Datasheets:

- http://ww1.microchip.com/downloads/en/DeviceDoc/1412.pdf
- http://ww1.microchip.com/downloads/en/DeviceDoc/1402.pdf
- https://ww1.microchip.com/downloads/en/DeviceDoc/1402.pdf

* SMSC / Microchip EMC1403, EMC1404, EMC1413, EMC1414

Expand All @@ -33,7 +33,7 @@ Supported chips:

Datasheet:

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

* SMSC / Microchip EMC1423, EMC1424

Expand All @@ -43,7 +43,7 @@ Supported chips:

Datasheet:

- http://ww1.microchip.com/downloads/en/DeviceDoc/1423_1424.pdf
- https://ww1.microchip.com/downloads/en/DeviceDoc/1423_1424.pdf

Author:
Kalhan Trisal <[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/ina3221.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supported chips:

Datasheet: Publicly available at the Texas Instruments website

http://www.ti.com/
https://www.ti.com/

Author: Andrew F. Davis <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/lm63.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Author: Jean Delvare <[email protected]>
Thanks go to Tyan and especially Alex Buckingham for setting up a remote
access to their S4882 test platform for this driver.

http://www.tyan.com/
https://www.tyan.com/

Description
-----------
Expand Down
6 changes: 3 additions & 3 deletions Documentation/hwmon/lm70.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Supported chips:

* Texas Instruments TMP122/TMP124

Information: http://www.ti.com/product/tmp122
Information: https://www.ti.com/product/tmp122

* National Semiconductor LM71

Datasheet: http://www.ti.com/product/LM71
Datasheet: https://www.ti.com/product/LM71

* National Semiconductor LM74

Datasheet: http://www.ti.com/product/LM74
Datasheet: https://www.ti.com/product/LM74


Author:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/lm73.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supported chips:

Datasheet: Publicly available at the Texas Instruments website

http://www.ti.com/product/lm73
https://www.ti.com/product/lm73


Author: Guillaume Ligneul <[email protected]>
Expand Down
26 changes: 13 additions & 13 deletions Documentation/hwmon/lm75.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Supported chips:

Datasheet: Publicly available at the Maxim website

http://www.maximintegrated.com/
https://www.maximintegrated.com/

* Maxim MAX6625, MAX6626, MAX31725, MAX31726

Expand Down Expand Up @@ -71,7 +71,7 @@ Supported chips:

Datasheet: Publicly available at the Analog Devices website

http://www.analog.com/adt75
https://www.analog.com/adt75

* ST Microelectronics STDS75

Expand Down Expand Up @@ -101,23 +101,23 @@ Supported chips:

Datasheet: Publicly available at the Texas Instruments website

http://www.ti.com/product/tmp100
https://www.ti.com/product/tmp100

http://www.ti.com/product/tmp101
https://www.ti.com/product/tmp101

http://www.ti.com/product/tmp105
https://www.ti.com/product/tmp105

http://www.ti.com/product/tmp112
https://www.ti.com/product/tmp112

http://www.ti.com/product/tmp75
https://www.ti.com/product/tmp75

http://www.ti.com/product/tmp75b
https://www.ti.com/product/tmp75b

http://www.ti.com/product/tmp75c
https://www.ti.com/product/tmp75c

http://www.ti.com/product/tmp175
https://www.ti.com/product/tmp175

http://www.ti.com/product/tmp275
https://www.ti.com/product/tmp275

* NXP LM75B, PCT2075

Expand All @@ -127,9 +127,9 @@ Supported chips:

Datasheet: Publicly available at the NXP website

http://www.nxp.com/documents/data_sheet/LM75B.pdf
https://www.nxp.com/documents/data_sheet/LM75B.pdf

http://www.nxp.com/docs/en/data-sheet/PCT2075.pdf
https://www.nxp.com/docs/en/data-sheet/PCT2075.pdf

Author: Frodo Looijaard <[email protected]>

Expand Down
8 changes: 4 additions & 4 deletions Documentation/hwmon/lm85.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@ Supported chips:

Addresses scanned: I2C 0x2c, 0x2d, 0x2e

Datasheet: http://www.ti.com/lit/ds/symlink/lm96000.pdf
Datasheet: https://www.ti.com/lit/ds/symlink/lm96000.pdf

* Analog Devices ADM1027

Prefix: 'adm1027'

Addresses scanned: I2C 0x2c, 0x2d, 0x2e

Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADM1027
Datasheet: https://www.onsemi.com/PowerSolutions/product.do?id=ADM1027

* Analog Devices ADT7463

Prefix: 'adt7463'

Addresses scanned: I2C 0x2c, 0x2d, 0x2e

Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADT7463
Datasheet: https://www.onsemi.com/PowerSolutions/product.do?id=ADT7463

* Analog Devices ADT7468

Prefix: 'adt7468'

Addresses scanned: I2C 0x2c, 0x2d, 0x2e

Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADT7468
Datasheet: https://www.onsemi.com/PowerSolutions/product.do?id=ADT7468

* SMSC EMC6D100, SMSC EMC6D101

Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/lm87.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Supported chips:

Addresses scanned: I2C 0x2c - 0x2e

Datasheet: http://www.analog.com/en/prod/0,2877,ADM1024,00.html
Datasheet: https://www.analog.com/en/prod/0,2877,ADM1024,00.html


Authors:
Expand Down
4 changes: 2 additions & 2 deletions Documentation/hwmon/lm95245.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Supported chips:

Datasheet: Publicly available at the TI website

http://www.ti.com/lit/ds/symlink/lm95235.pdf
https://www.ti.com/lit/ds/symlink/lm95235.pdf

* TI / National Semiconductor LM95245

Addresses scanned: I2C 0x18, 0x19, 0x29, 0x4c, 0x4d

Datasheet: Publicly available at the TI website

http://www.ti.com/lit/ds/symlink/lm95245.pdf
https://www.ti.com/lit/ds/symlink/lm95245.pdf

Author: Alexander Stein <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/max31790.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Supported chips:

Addresses scanned: -

Datasheet: http://pdfserv.maximintegrated.com/en/ds/MAX31790.pdf
Datasheet: https://pdfserv.maximintegrated.com/en/ds/MAX31790.pdf

Author: Il Han <[email protected]>

Expand Down
4 changes: 2 additions & 2 deletions Documentation/hwmon/sht21.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supported chips:

Datasheet: Publicly available at the Sensirion website

http://www.sensirion.com/file/datasheet_sht21
https://www.sensirion.com/file/datasheet_sht21



Expand All @@ -23,7 +23,7 @@ Supported chips:

Datasheet: Publicly available at the Sensirion website

http://www.sensirion.com/file/datasheet_sht25
https://www.sensirion.com/file/datasheet_sht25



Expand Down
6 changes: 3 additions & 3 deletions Documentation/hwmon/shtc1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Supported chips:

Addresses scanned: none

Datasheet: http://www.sensirion.com/file/datasheet_shtc1
Datasheet: https://www.sensirion.com/file/datasheet_shtc1



Expand All @@ -19,7 +19,7 @@ Supported chips:

Addresses scanned: none

Datasheet: http://www.sensirion.com/file/datasheet_shtw1
Datasheet: https://www.sensirion.com/file/datasheet_shtw1



Expand All @@ -29,7 +29,7 @@ Supported chips:

Addresses scanned: none

Datasheet: http://www.sensirion.com/file/datasheet_shtc3
Datasheet: https://www.sensirion.com/file/datasheet_shtc3



Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/thmc50.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Supported chips:

Addresses scanned: I2C 0x2c - 0x2e

Datasheet: http://www.ti.com/
Datasheet: https://www.ti.com/


Author: Krzysztof Helt <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/tmp103.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Supported chips:

Addresses scanned: none

Product info and datasheet: http://www.ti.com/product/tmp103
Product info and datasheet: https://www.ti.com/product/tmp103

Author:

Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/tmp108.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Supported chips:

Addresses scanned: none

Datasheet: http://www.ti.com/product/tmp108
Datasheet: https://www.ti.com/product/tmp108

Author:

Expand Down
4 changes: 2 additions & 2 deletions Documentation/hwmon/tmp421.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ Supported chips:

Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f

Datasheet: http://www.ti.com/product/tmp441
Datasheet: https://www.ti.com/product/tmp441

* Texas Instruments TMP442

Prefix: 'tmp442'

Addresses scanned: I2C 0x4c and 0x4d

Datasheet: http://www.ti.com/product/tmp442
Datasheet: https://www.ti.com/product/tmp442

Authors:

Expand Down
Loading

0 comments on commit ad736c1

Please sign in to comment.