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

ASoC: fsl: 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>
Link: https://lore.kernel.org/r/20200718111209.11760-1-grandmaster@al2klimov.de
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Alexander A. Klimov and committed by
Mark Brown
1ce8f643 f6844050

+3 -3
+2 -2
sound/soc/fsl/imx-audmix.c
··· 6 6 * License. You may obtain a copy of the GNU General Public License 7 7 * Version 2 or later at the following locations: 8 8 * 9 - * http://www.opensource.org/licenses/gpl-license.html 10 - * http://www.gnu.org/copyleft/gpl.html 9 + * https://www.opensource.org/licenses/gpl-license.html 10 + * https://www.gnu.org/copyleft/gpl.html 11 11 */ 12 12 13 13 #include <linux/module.h>
+1 -1
sound/soc/fsl/imx-audmux.c
··· 5 5 // Copyright 2009 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de> 6 6 // 7 7 // Initial development of this code was funded by 8 - // Phytec Messtechnik GmbH, http://www.phytec.de 8 + // Phytec Messtechnik GmbH, https://www.phytec.de 9 9 10 10 #include <linux/clk.h> 11 11 #include <linux/debugfs.h>