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

platform/x86: acerhdf: 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>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

Alexander A. Klimov and committed by
Andy Shevchenko
78d15eea 6abe66ec

+2 -2
+1 -1
drivers/platform/x86/Kconfig
··· 140 140 in the same node directory will tell you if it is "acerhdf". 141 141 142 142 For more information about this driver see 143 - <http://piie.net/files/acerhdf_README.txt> 143 + <https://piie.net/files/acerhdf_README.txt> 144 144 145 145 If you have an Acer Aspire One netbook, say Y or M 146 146 here.
+1 -1
drivers/platform/x86/acerhdf.c
··· 5 5 * as soon as the upper/lower threshold is reached. 6 6 * 7 7 * (C) 2009 - Peter Kaestle peter (a) piie.net 8 - * http://piie.net 8 + * https://piie.net 9 9 * 2009 Borislav Petkov bp (a) alien8.de 10 10 * 11 11 * Inspired by and many thanks to: