hwmon: 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 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>
Link: https://lore.kernel.org/r/20200719175512.60745-1-grandmaster@al2klimov.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Alexander A. Klimov 2020-07-19 19:55:12 +02:00 committed by Guenter Roeck
parent f12d634f90
commit ad736c1a4d
28 changed files with 61 additions and 61 deletions

View File

@ -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

View File

@ -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 <ppokorny@penguincomputing.com> for Penguin Computing

View File

@ -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
@ -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 <alex@alexdalton.org>

View File

@ -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'
@ -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
@ -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
@ -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 <knaack.h@gmx.de>

View File

@ -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
@ -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
@ -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 <kalhan.trisal@intel.com

View File

@ -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 <afd@ti.com>

View File

@ -39,7 +39,7 @@ Author: Jean Delvare <jdelvare@suse.de>
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
-----------

View File

@ -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:

View File

@ -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 <guillaume.ligneul@gmail.com>

View File

@ -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
@ -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
@ -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
@ -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 <frodol@dds.nl>

View File

@ -17,7 +17,7 @@ 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
@ -25,7 +25,7 @@ Supported chips:
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
@ -33,7 +33,7 @@ Supported chips:
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
@ -41,7 +41,7 @@ Supported chips:
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

View File

@ -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:

View File

@ -9,7 +9,7 @@ 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
@ -17,7 +17,7 @@ Supported chips:
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 <alexander.stein@systec-electronic.com>

View File

@ -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 <corone.il.han@gmail.com>

View File

@ -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
@ -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

View File

@ -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
@ -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
@ -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

View File

@ -17,7 +17,7 @@ Supported chips:
Addresses scanned: I2C 0x2c - 0x2e
Datasheet: http://www.ti.com/
Datasheet: https://www.ti.com/
Author: Krzysztof Helt <krzysztof.h1@wp.pl>

View File

@ -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:

View File

@ -9,7 +9,7 @@ Supported chips:
Addresses scanned: none
Datasheet: http://www.ti.com/product/tmp108
Datasheet: https://www.ti.com/product/tmp108
Author:

View File

@ -33,7 +33,7 @@ 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
@ -41,7 +41,7 @@ Supported chips:
Addresses scanned: I2C 0x4c and 0x4d
Datasheet: http://www.ti.com/product/tmp442
Datasheet: https://www.ti.com/product/tmp442
Authors:

View File

@ -9,7 +9,7 @@ Supported chips:
Addresses scanned: -
Datasheet: http://www.ti.com/lit/gpn/tps53647
Datasheet: https://www.ti.com/lit/gpn/tps53647
* Texas Instruments TPS53667
@ -17,7 +17,7 @@ Supported chips:
Addresses scanned: -
Datasheet: http://www.ti.com/lit/gpn/TPS53667
Datasheet: https://www.ti.com/lit/gpn/TPS53667
* Texas Instruments TPS53679
@ -25,7 +25,7 @@ Supported chips:
Addresses scanned: -
Datasheet: http://www.ti.com/lit/gpn/TPS53679 (short version)
Datasheet: https://www.ti.com/lit/gpn/TPS53679 (short version)
* Texas Instruments TPS53681
@ -33,7 +33,7 @@ Supported chips:
Addresses scanned: -
Datasheet: http://www.ti.com/lit/gpn/TPS53681
Datasheet: https://www.ti.com/lit/gpn/TPS53681
* Texas Instruments TPS53688

View File

@ -17,7 +17,7 @@ Supported chips:
Addresses scanned: I2C 0x28 - 0x2f, ISA 0x290 (8 I/O ports)
Datasheet: http://www.winbond.com
Datasheet: https://www.winbond.com
* Winbond W83783S

View File

@ -7,7 +7,7 @@
*
* Chip details at:
*
* <http://www.onsemi.com/PowerSolutions/product.do?id=ADM1026>
* <https://www.onsemi.com/PowerSolutions/product.do?id=ADM1026>
*/
#include <linux/module.h>

View File

@ -49,15 +49,15 @@
* The 13 specification corresponds to the Intel Pentium M series. There
* doesn't seem to be any named specification for these. The conversion
* tables are detailed directly in the various Pentium M datasheets:
* http://www.intel.com/design/intarch/pentiumm/docs_pentiumm.htm
* https://www.intel.com/design/intarch/pentiumm/docs_pentiumm.htm
*
* The 14 specification corresponds to Intel Core series. There
* doesn't seem to be any named specification for these. The conversion
* tables are detailed directly in the various Pentium Core datasheets:
* http://www.intel.com/design/mobile/datashts/309221.htm
* https://www.intel.com/design/mobile/datashts/309221.htm
*
* The 110 (VRM 11) specification corresponds to Intel Conroe based series.
* http://www.intel.com/design/processor/applnots/313214.htm
* https://www.intel.com/design/processor/applnots/313214.htm
*/
/*

View File

@ -2,7 +2,7 @@
/*
* INA3221 Triple Current/Voltage Monitor
*
* Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
* Andrew F. Davis <afd@ti.com>
*/

View File

@ -40,7 +40,7 @@
* This driver also supports the ADM1024, a sensor chip made by Analog
* Devices. That chip is fully compatible with the LM87. Complete
* datasheet can be obtained from Analog's website at:
* http://www.analog.com/en/prod/0,2877,ADM1024,00.html
* https://www.analog.com/en/prod/0,2877,ADM1024,00.html
*/
#include <linux/module.h>

View File

@ -4,7 +4,7 @@
* and monitor. Users can read all ADC inputs along with their labels
* using the sysfs nodes.
*
* Copyright (c) 2014 Echo360 http://www.echo360.com
* Copyright (c) 2014 Echo360 https://www.echo360.com
* Scott Kanowitz <skanowitz@echo360.com> <scott.kanowitz@gmail.com>
*/

View File

@ -3,7 +3,7 @@
*
* Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.com>
*
* Data sheet available at http://www.sensirion.com/file/datasheet_sht21
* Data sheet available at https://www.sensirion.com/file/datasheet_sht21
*/
#include <linux/module.h>