Commit e263f2d3 authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Guenter Roeck

hwmon: (tmmp513) Replace HTTP links with HTTPS links

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: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200703185657.15329-1-grandmaster@al2klimov.deSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 0505aca8
...@@ -18,8 +18,8 @@ description: | ...@@ -18,8 +18,8 @@ description: |
consumption. consumption.
Datasheets: Datasheets:
http://www.ti.com/lit/gpn/tmp513 https://www.ti.com/lit/gpn/tmp513
http://www.ti.com/lit/gpn/tmp512 https://www.ti.com/lit/gpn/tmp512
properties: properties:
......
...@@ -9,13 +9,13 @@ Supported chips: ...@@ -9,13 +9,13 @@ Supported chips:
Prefix: 'tmp512' Prefix: 'tmp512'
Datasheet: http://www.ti.com/lit/ds/symlink/tmp512.pdf Datasheet: https://www.ti.com/lit/ds/symlink/tmp512.pdf
* Texas Instruments TMP513 * Texas Instruments TMP513
Prefix: 'tmp513' Prefix: 'tmp513'
Datasheet: http://www.ti.com/lit/ds/symlink/tmp513.pdf Datasheet: https://www.ti.com/lit/ds/symlink/tmp513.pdf
Authors: Authors:
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
* TMP513: * TMP513:
* Thermal/Power Management with Triple Remote and * Thermal/Power Management with Triple Remote and
* Local Temperature Sensor and Current Shunt Monitor * Local Temperature Sensor and Current Shunt Monitor
* Datasheet: http://www.ti.com/lit/gpn/tmp513 * Datasheet: https://www.ti.com/lit/gpn/tmp513
* *
* TMP512: * TMP512:
* Thermal/Power Management with Dual Remote * Thermal/Power Management with Dual Remote
* and Local Temperature Sensor and Current Shunt Monitor * and Local Temperature Sensor and Current Shunt Monitor
* Datasheet: http://www.ti.com/lit/gpn/tmp512 * Datasheet: https://www.ti.com/lit/gpn/tmp512
* *
* Copyright (C) 2019 Eric Tremblay <etremblay@distech-controls.com> * Copyright (C) 2019 Eric Tremblay <etremblay@distech-controls.com>
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment