Skip to content

Commit 19206a1

Browse files
Al2Klimovandy-shev
authored andcommitted
platform/x86: thinkpad_acpi: 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]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 46713ae commit 19206a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/platform/x86/thinkpad_acpi.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7968,7 +7968,7 @@ static struct ibm_struct volume_driver_data = {
79687968
* does so, its initial value is meaningless (0x07).
79697969
*
79707970
* For firmware bugs, refer to:
7971-
* http://thinkwiki.org/wiki/Embedded_Controller_Firmware#Firmware_Issues
7971+
* https://thinkwiki.org/wiki/Embedded_Controller_Firmware#Firmware_Issues
79727972
*
79737973
* ----
79747974
*
@@ -7993,7 +7993,7 @@ static struct ibm_struct volume_driver_data = {
79937993
* mode.
79947994
*
79957995
* For firmware bugs, refer to:
7996-
* http://thinkwiki.org/wiki/Embedded_Controller_Firmware#Firmware_Issues
7996+
* https://thinkwiki.org/wiki/Embedded_Controller_Firmware#Firmware_Issues
79977997
*
79987998
* ----
79997999
*
@@ -10208,7 +10208,7 @@ static int __must_check __init get_thinkpad_model_data(
1020810208
* X32 or newer, all Z series; Some models must have an
1020910209
* up-to-date BIOS or they will not be detected.
1021010210
*
10211-
* See http://thinkwiki.org/wiki/List_of_DMI_IDs
10211+
* See https://thinkwiki.org/wiki/List_of_DMI_IDs
1021210212
*/
1021310213
while ((dev = dmi_find_device(DMI_DEV_TYPE_OEM_STRING, NULL, dev))) {
1021410214
if (sscanf(dev->name,
@@ -10731,8 +10731,8 @@ MODULE_DEVICE_TABLE(acpi, ibm_htk_device_ids);
1073110731
/*
1073210732
* DMI matching for module autoloading
1073310733
*
10734-
* See http://thinkwiki.org/wiki/List_of_DMI_IDs
10735-
* See http://thinkwiki.org/wiki/BIOS_Upgrade_Downloads
10734+
* See https://thinkwiki.org/wiki/List_of_DMI_IDs
10735+
* See https://thinkwiki.org/wiki/BIOS_Upgrade_Downloads
1073610736
*
1073710737
* Only models listed in thinkwiki will be supported, so add yours
1073810738
* if it is not there yet.

0 commit comments

Comments
 (0)