Skip to content

Commit e263f2d

Browse files
Al2Klimovgroeck
authored andcommitted
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: Alexander A. Klimov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 0505aca commit e263f2d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ description: |
1818
consumption.
1919
2020
Datasheets:
21-
http://www.ti.com/lit/gpn/tmp513
22-
http://www.ti.com/lit/gpn/tmp512
21+
https://www.ti.com/lit/gpn/tmp513
22+
https://www.ti.com/lit/gpn/tmp512
2323
2424
2525
properties:

Documentation/hwmon/tmp513.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Supported chips:
99

1010
Prefix: 'tmp512'
1111

12-
Datasheet: http://www.ti.com/lit/ds/symlink/tmp512.pdf
12+
Datasheet: https://www.ti.com/lit/ds/symlink/tmp512.pdf
1313

1414
* Texas Instruments TMP513
1515

1616
Prefix: 'tmp513'
1717

18-
Datasheet: http://www.ti.com/lit/ds/symlink/tmp513.pdf
18+
Datasheet: https://www.ti.com/lit/ds/symlink/tmp513.pdf
1919

2020
Authors:
2121

drivers/hwmon/tmp513.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
* TMP513:
66
* Thermal/Power Management with Triple Remote and
77
* Local Temperature Sensor and Current Shunt Monitor
8-
* Datasheet: http://www.ti.com/lit/gpn/tmp513
8+
* Datasheet: https://www.ti.com/lit/gpn/tmp513
99
*
1010
* TMP512:
1111
* Thermal/Power Management with Dual Remote
1212
* and Local Temperature Sensor and Current Shunt Monitor
13-
* Datasheet: http://www.ti.com/lit/gpn/tmp512
13+
* Datasheet: https://www.ti.com/lit/gpn/tmp512
1414
*
1515
* Copyright (C) 2019 Eric Tremblay <[email protected]>
1616
*

0 commit comments

Comments
 (0)