Skip to content

Commit 3567d3d

Browse files
Al2Klimovalexandrebelloni
authored andcommitted
rtc: 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 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> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200706062727.18481-1-grandmaster@al2klimov.de
1 parent 22f8d5a commit 3567d3d

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/rtc/rtc-ab-b5ze-s3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Detailed datasheet of the chip is available here:
99
*
10-
* http://www.abracon.com/realtimeclock/AB-RTCMC-32.768kHz-B5ZE-S3-Application-Manual.pdf
10+
* https://www.abracon.com/realtimeclock/AB-RTCMC-32.768kHz-B5ZE-S3-Application-Manual.pdf
1111
*
1212
* This work is based on ISL12057 driver (drivers/rtc/rtc-isl12057.c).
1313
*

drivers/rtc/rtc-bq32k.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (C) 2014 Pavel Machek <pavel@denx.de>
77
*
88
* You can get hardware description at
9-
* http://www.ti.com/lit/ds/symlink/bq32000.pdf
9+
* https://www.ti.com/lit/ds/symlink/bq32000.pdf
1010
*/
1111

1212
#include <linux/module.h>

drivers/rtc/rtc-mcp795.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* based on other Linux RTC drivers
88
*
99
* Device datasheet:
10-
* http://ww1.microchip.com/downloads/en/DeviceDoc/22280A.pdf
10+
* https://ww1.microchip.com/downloads/en/DeviceDoc/22280A.pdf
1111
*/
1212

1313
#include <linux/module.h>

drivers/rtc/rtc-pcf85063.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
/*
2222
* Information for this driver was pulled from the following datasheets.
2323
*
24-
* http://www.nxp.com/documents/data_sheet/PCF85063A.pdf
25-
* http://www.nxp.com/documents/data_sheet/PCF85063TP.pdf
24+
* https://www.nxp.com/documents/data_sheet/PCF85063A.pdf
25+
* https://www.nxp.com/documents/data_sheet/PCF85063TP.pdf
2626
*
2727
* PCF85063A -- Rev. 6 — 18 November 2015
2828
* PCF85063TP -- Rev. 4 — 6 May 2015

0 commit comments

Comments
 (0)