Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <grandmaster@al2klimov.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200713205821.38223-1-grandmaster@al2klimov.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Alexander A. Klimov and committed by
Wim Van Sebroeck
2ab77a34 d821ab28

+7 -7
+2 -2
Documentation/devicetree/bindings/watchdog/davinci-wdt.txt
··· 11 11 See clock-bindings.txt 12 12 13 13 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 16 16 17 17 Examples: 18 18
+1 -1
drivers/watchdog/Kconfig
··· 1027 1027 If you are configuring a Linux kernel for the Advantech single-board 1028 1028 computer, say `Y' here to support its built-in watchdog timer 1029 1029 feature. More information can be found at 1030 - <http://www.advantech.com.tw/products/> 1030 + <https://www.advantech.com.tw/products/> 1031 1031 1032 1032 config ALIM1535_WDT 1033 1033 tristate "ALi M1535 PMU Watchdog Timer"
+1 -1
drivers/watchdog/dw_wdt.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 2 /* 3 3 * Copyright 2010-2011 Picochip Ltd., Jamie Iles 4 - * http://www.picochip.com 4 + * https://www.picochip.com 5 5 * 6 6 * This file implements a driver for the Synopsys DesignWare watchdog device 7 7 * in the many subsystems. The watchdog has 16 different timeout periods
+1 -1
drivers/watchdog/nv_tco.c
··· 7 7 * Based off i8xx_tco.c: 8 8 * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights 9 9 * Reserved. 10 - * http://www.kernelconcepts.de 10 + * https://www.kernelconcepts.de 11 11 * 12 12 * TCO timer driver for NV chipsets 13 13 * based on softdog.c by Alan Cox <alan@redhat.com>
+1 -1
drivers/watchdog/nv_tco.h
··· 9 9 * 10 10 * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights 11 11 * Reserved. 12 - * http://www.kernelconcepts.de 12 + * https://www.kernelconcepts.de 13 13 * 14 14 * Neither kernel concepts nor Nils Faerber admit liability nor provide 15 15 * warranty for any of this software. This material is provided
+1 -1
drivers/watchdog/sp5100_tco.c
··· 7 7 * Based on i8xx_tco.c: 8 8 * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights 9 9 * Reserved. 10 - * http://www.kernelconcepts.de 10 + * https://www.kernelconcepts.de 11 11 * 12 12 * See AMD Publication 43009 "AMD SB700/710/750 Register Reference Guide", 13 13 * AMD Publication 45482 "AMD SB800-Series Southbridges Register