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

pwm: 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>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>

authored by

Alexander A. Klimov and committed by
Thierry Reding
216a094d dfd9b615

+3 -3
+1 -1
drivers/pwm/pwm-omap-dmtimer.c
··· 14 14 * with a timer counter that goes up. When it overflows it gets 15 15 * reloaded with the load value and the pwm output goes up. 16 16 * When counter matches with match register, the output goes down. 17 - * Reference Manual: http://www.ti.com/lit/ug/spruh73q/spruh73q.pdf 17 + * Reference Manual: https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf 18 18 * 19 19 * Limitations: 20 20 * - When PWM is stopped, timer counter gets stopped immediately. This
+1 -1
drivers/pwm/pwm-tiecap.c
··· 2 2 /* 3 3 * ECAP PWM driver 4 4 * 5 - * Copyright (C) 2012 Texas Instruments, Inc. - http://www.ti.com/ 5 + * Copyright (C) 2012 Texas Instruments, Inc. - https://www.ti.com/ 6 6 */ 7 7 8 8 #include <linux/module.h>
+1 -1
drivers/pwm/pwm-tiehrpwm.c
··· 2 2 /* 3 3 * EHRPWM PWM driver 4 4 * 5 - * Copyright (C) 2012 Texas Instruments, Inc. - http://www.ti.com/ 5 + * Copyright (C) 2012 Texas Instruments, Inc. - https://www.ti.com/ 6 6 */ 7 7 8 8 #include <linux/module.h>