Skip to content

Commit 009f429

Browse files
Al2Klimovgroeck
authored andcommitted
hwmon: (ina209) 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent ad736c1 commit 009f429

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/hwmon/ina209.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Supported chips:
1010
Addresses scanned: -
1111

1212
Datasheet:
13-
http://www.ti.com/lit/gpn/ina209
13+
https://www.ti.com/lit/gpn/ina209
1414

1515
Author:
1616
- Paul Hays <[email protected]>

drivers/hwmon/ina209.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Thanks to Jan Volkering
1515
*
1616
* Datasheet:
17-
* http://www.ti.com/lit/gpn/ina209
17+
* https://www.ti.com/lit/gpn/ina209
1818
*/
1919

2020
#include <linux/kernel.h>

0 commit comments

Comments
 (0)