Skip to content

Commit 2ab77a3

Browse files
Al2KlimovWim Van Sebroeck
authored andcommitted
watchdog: 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]> Reviewed-by: Guenter Roeck <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent d821ab2 commit 2ab77a3

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Documentation/devicetree/bindings/watchdog/davinci-wdt.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Optional properties:
1111
See clock-bindings.txt
1212

1313
Documentation:
14-
Davinci DM646x - http://www.ti.com/lit/ug/spruer5b/spruer5b.pdf
15-
Keystone - http://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf
14+
Davinci DM646x - https://www.ti.com/lit/ug/spruer5b/spruer5b.pdf
15+
Keystone - https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf
1616

1717
Examples:
1818

drivers/watchdog/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ config ADVANTECH_WDT
10271027
If you are configuring a Linux kernel for the Advantech single-board
10281028
computer, say `Y' here to support its built-in watchdog timer
10291029
feature. More information can be found at
1030-
<http://www.advantech.com.tw/products/>
1030+
<https://www.advantech.com.tw/products/>
10311031

10321032
config ALIM1535_WDT
10331033
tristate "ALi M1535 PMU Watchdog Timer"

drivers/watchdog/dw_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22
/*
33
* Copyright 2010-2011 Picochip Ltd., Jamie Iles
4-
* http://www.picochip.com
4+
* https://www.picochip.com
55
*
66
* This file implements a driver for the Synopsys DesignWare watchdog device
77
* in the many subsystems. The watchdog has 16 different timeout periods

drivers/watchdog/nv_tco.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Based off i8xx_tco.c:
88
* (c) Copyright 2000 kernel concepts <[email protected]>, All Rights
99
* Reserved.
10-
* http://www.kernelconcepts.de
10+
* https://www.kernelconcepts.de
1111
*
1212
* TCO timer driver for NV chipsets
1313
* based on softdog.c by Alan Cox <[email protected]>

drivers/watchdog/nv_tco.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* (c) Copyright 2000 kernel concepts <[email protected]>, All Rights
1111
* Reserved.
12-
* http://www.kernelconcepts.de
12+
* https://www.kernelconcepts.de
1313
*
1414
* Neither kernel concepts nor Nils Faerber admit liability nor provide
1515
* warranty for any of this software. This material is provided

drivers/watchdog/sp5100_tco.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Based on i8xx_tco.c:
88
* (c) Copyright 2000 kernel concepts <[email protected]>, All Rights
99
* Reserved.
10-
* http://www.kernelconcepts.de
10+
* https://www.kernelconcepts.de
1111
*
1212
* See AMD Publication 43009 "AMD SB700/710/750 Register Reference Guide",
1313
* AMD Publication 45482 "AMD SB800-Series Southbridges Register

0 commit comments

Comments
 (0)