hwmon: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 17:55:12 +0000 (19:55 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Jul 2020 14:44:57 +0000 (07:44 -0700)
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>
28 files changed:
Documentation/hwmon/adc128d818.rst
Documentation/hwmon/adm1026.rst
Documentation/hwmon/adm1031.rst
Documentation/hwmon/adt7410.rst
Documentation/hwmon/emc1403.rst
Documentation/hwmon/ina3221.rst
Documentation/hwmon/lm63.rst
Documentation/hwmon/lm70.rst
Documentation/hwmon/lm73.rst
Documentation/hwmon/lm75.rst
Documentation/hwmon/lm85.rst
Documentation/hwmon/lm87.rst
Documentation/hwmon/lm95245.rst
Documentation/hwmon/max31790.rst
Documentation/hwmon/sht21.rst
Documentation/hwmon/shtc1.rst
Documentation/hwmon/thmc50.rst
Documentation/hwmon/tmp103.rst
Documentation/hwmon/tmp108.rst
Documentation/hwmon/tmp421.rst
Documentation/hwmon/tps53679.rst
Documentation/hwmon/w83781d.rst
drivers/hwmon/adm1026.c
drivers/hwmon/hwmon-vid.c
drivers/hwmon/ina3221.c
drivers/hwmon/lm87.c
drivers/hwmon/powr1220.c
drivers/hwmon/sht21.c

index 6753468932abcecff987165cd7d76c15e4c46491..d2488023430f796c8818abe37a64e85edb51771a 100644 (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
 
index 35d63e6498a3b02b272f6edbc9bfb91d18bcff57..66f996fa3031fd0253eeb024e54d7907535dbfb8 100644 (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
index a677c3ab5574fbc9a439ea19b01712be3bd7a79b..be74ec1f3e7389bd2bf20976e0b034b7a43a1b6b 100644 (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>
index 24caaa83c8ec7336866ddd20e4d3e2244d165629..3f5a43561bf16c38995058e5319e49606ef14d10 100644 (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>
 
index 3a4913b63ef365caf3d9b322d8b4ef764a664f94..0de9616b24ed4ae8d74a45d441773d94d52f1469 100644 (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
index 297f7323b4414d3ada1f4e4a25fe234b93e4442f..8c12c54d2c24efb618bbb2e66e4dfabd7439a125 100644 (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>
 
index f478132b0408afd2671634c78e5b978179c73e53..9e27367d74058f34c843e32a5a4196b8379dbdfe 100644 (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
 -----------
index f259bc1fcd91849fb8138a87d9a5d0dcf6b03610..6ddc5b67ccb540d94d1992eb7c2f4522a7e78fa1 100644 (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:
index 1d6a46844e85ab14c85fd2b45d6990d465249547..74e909be6ef772b63b3ffb12b3f19d61378735c0 100644 (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>
index e749f827c00236ba7d5ada47d4ec34b1d1c86db6..81257d5fc48f1fad4db08e62bdf016c06fce324b 100644 (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>
 
index faa92f54431cec06b86f2fca4a4ad91cdeab0ff8..55e1d9cdaaae59477a453e1613e575e2adbfccd5 100644 (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
 
index 72fcb577ef2a26a97879419bf39cc69d7036ba39..b8fec56896482af66863d3ba3aa863e005be9217 100644 (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:
index 566d1dc8c5a6e9f9944468627d0d96816ca9b105..836d9a3f53f9f935de6f89fa2809c98dae4f56c9 100644 (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>
 
index 84c62a12ef3a8c794f31cfd7b249d32d79584211..f301385d8cef3388cb8643be46adfcfaa463edc9 100644 (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>
 
index f1f5da03010861b49813fbd8abbd3ef121be99b2..1bccc8e8aac8d3532ec17dcdbc6a172102877085 100644 (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
 
 
 
index 08380f21ab6a052a954d6261ca470670297ab2d2..f38c4c9d2f74e2693f2217807c67a3742ebf595a 100644 (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
 
 
 
index cfff3885287d0d0105f391ef3940d814b084fedc..090f040294a34bf27a3d0cd4b3d676f6c3389c31 100644 (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>
index 205de6148fcb8afcec6bccbea19486fc31c3a868..e195a7d14309a00c4e70ad0f319462baee06de5f 100644 (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:
 
index 5f4266a16cb2e9b27dc7d7d77da7235ed240aee5..6df7cf1b42f4915c54f41f3e178813814d81ab87 100644 (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:
 
index 1ba926a3605cda01661f8210baa3621fa915189f..ddcd5159c75d1d57f2988d8eae43b2fba4afc997 100644 (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:
 
index be94cab78967b67ee15d3a592177b8153e4074fe..c7c589e4978918ef8cfa555d6293001422e1cb28 100644 (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
 
index f36d33dfb704dc63b0ec16ebfbab149b115f55ac..c2dcb68560120c5f7e48fb7263e532d0ba904f3e 100644 (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
 
index e0f630c641526ba31e29606b1cb3f25574f42b68..af77096724fd93c40cc732657892e9fcc97db277 100644 (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>
index 8ae68dfa75b23a7156e184f7e7bd668dc66475f5..eb72e390844ecddf10db5b9b5b765e2560d96a81 100644 (file)
  * 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
  */
 
 /*
index f335d0cb0c77fc1fa34497182d25b3ae24622ee6..7fc5b065ad8b238aabacae137025b7506e0f89d2 100644 (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>
  */
 
index ad501ac4a594268117355282c4323045a28fda9e..c96c4d807e3842b6c47e2b8c5ea7c0d28ab35913 100644 (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>
index 65997421ee3c306e54e77738ffe704f069038284..a5d1a890d0beefafdb67c32869da5c6abea458e5 100644 (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>
  */
 
index bc70c8332d9a84bce60e70d94f6ff73afaeb1364..8ea5534455f2dfaa95e09383deeade7807e4a429 100644 (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>