Skip to content

Commit 7d4c1ea

Browse files
Al2Klimovsuryasaimadhu
authored andcommitted
EDAC: 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. [ bp: Merge all EDAC patches into a single one. ] Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Tero Kristo <t-kristo@ti.com> # ti_edac Link: https://lkml.kernel.org/r/20200708113546.14135-1-grandmaster@al2klimov.de
1 parent 9123e3a commit 7d4c1ea

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

drivers/edac/e752x_edac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Implement support for the e7520, E7525, e7320 and i3100 memory controllers.
88
*
99
* Datasheets:
10-
* http://www.intel.in/content/www/in/en/chipsets/e7525-memory-controller-hub-datasheet.html
10+
* https://www.intel.in/content/www/in/en/chipsets/e7525-memory-controller-hub-datasheet.html
1111
* ftp://download.intel.com/design/intarch/datashts/31345803.pdf
1212
*
1313
* Written by Tom Zimmerman

drivers/edac/ghes_edac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copyright (c) 2013 by Mauro Carvalho Chehab
66
*
7-
* Red Hat Inc. http://www.redhat.com
7+
* Red Hat Inc. https://www.redhat.com
88
*/
99

1010
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

drivers/edac/i5400_edac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Ben Woodard <woodard@redhat.com>
99
* Mauro Carvalho Chehab
1010
*
11-
* Red Hat Inc. http://www.redhat.com
11+
* Red Hat Inc. https://www.redhat.com
1212
*
1313
* Forked and adapted from the i5000_edac driver which was
1414
* written by Douglas Thompson Linux Networx <norsk5@xmission.com>
@@ -1460,7 +1460,7 @@ module_exit(i5400_exit);
14601460
MODULE_LICENSE("GPL");
14611461
MODULE_AUTHOR("Ben Woodard <woodard@redhat.com>");
14621462
MODULE_AUTHOR("Mauro Carvalho Chehab");
1463-
MODULE_AUTHOR("Red Hat Inc. (http://www.redhat.com)");
1463+
MODULE_AUTHOR("Red Hat Inc. (https://www.redhat.com)");
14641464
MODULE_DESCRIPTION("MC Driver for Intel I5400 memory controllers - "
14651465
I5400_REVISION);
14661466

drivers/edac/i7300_edac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Copyright (c) 2010 by:
66
* Mauro Carvalho Chehab
77
*
8-
* Red Hat Inc. http://www.redhat.com
8+
* Red Hat Inc. https://www.redhat.com
99
*
1010
* Intel 7300 Chipset Memory Controller Hub (MCH) - Datasheet
1111
* http://www.intel.com/Assets/PDF/datasheet/318082.pdf
@@ -1206,7 +1206,7 @@ module_exit(i7300_exit);
12061206

12071207
MODULE_LICENSE("GPL");
12081208
MODULE_AUTHOR("Mauro Carvalho Chehab");
1209-
MODULE_AUTHOR("Red Hat Inc. (http://www.redhat.com)");
1209+
MODULE_AUTHOR("Red Hat Inc. (https://www.redhat.com)");
12101210
MODULE_DESCRIPTION("MC Driver for Intel I7300 memory controllers - "
12111211
I7300_REVISION);
12121212

drivers/edac/i7core_edac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Copyright (c) 2009-2010 by:
1010
* Mauro Carvalho Chehab
1111
*
12-
* Red Hat Inc. http://www.redhat.com
12+
* Red Hat Inc. https://www.redhat.com
1313
*
1414
* Forked and adapted from the i5400_edac driver
1515
*
@@ -2391,7 +2391,7 @@ module_exit(i7core_exit);
23912391

23922392
MODULE_LICENSE("GPL");
23932393
MODULE_AUTHOR("Mauro Carvalho Chehab");
2394-
MODULE_AUTHOR("Red Hat Inc. (http://www.redhat.com)");
2394+
MODULE_AUTHOR("Red Hat Inc. (https://www.redhat.com)");
23952395
MODULE_DESCRIPTION("MC Driver for Intel i7 Core memory controllers - "
23962396
I7CORE_REVISION);
23972397

drivers/edac/ie31200_edac.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Since the DRAM controller is on the cpu chip, we can use its PCI device
1010
* id to identify these processors.
1111
*
12-
* PCI DRAM controller device ids (Taken from The PCI ID Repository - http://pci-ids.ucw.cz/)
12+
* PCI DRAM controller device ids (Taken from The PCI ID Repository - https://pci-ids.ucw.cz/)
1313
*
1414
* 0108: Xeon E3-1200 Processor Family DRAM Controller
1515
* 010c: Xeon E3-1200/2nd Generation Core Processor Family DRAM Controller
@@ -23,9 +23,9 @@
2323
* 3e..: 8th/9th Gen Core Processor Host Bridge/DRAM Registers
2424
*
2525
* Based on Intel specification:
26-
* http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-e3-1200v3-vol-2-datasheet.pdf
26+
* https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-e3-1200v3-vol-2-datasheet.pdf
2727
* http://www.intel.com/content/www/us/en/processors/xeon/xeon-e3-1200-family-vol-2-datasheet.html
28-
* http://www.intel.com/content/www/us/en/processors/core/7th-gen-core-family-mobile-h-processor-lines-datasheet-vol-2.html
28+
* https://www.intel.com/content/www/us/en/processors/core/7th-gen-core-family-mobile-h-processor-lines-datasheet-vol-2.html
2929
* https://www.intel.com/content/www/us/en/products/docs/processors/core/8th-gen-core-family-datasheet-vol-2.html
3030
*
3131
* According to the above datasheet (p.16):

drivers/edac/sb_edac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3552,6 +3552,6 @@ MODULE_PARM_DESC(edac_op_state, "EDAC Error Reporting state: 0=Poll,1=NMI");
35523552

35533553
MODULE_LICENSE("GPL");
35543554
MODULE_AUTHOR("Mauro Carvalho Chehab");
3555-
MODULE_AUTHOR("Red Hat Inc. (http://www.redhat.com)");
3555+
MODULE_AUTHOR("Red Hat Inc. (https://www.redhat.com)");
35563556
MODULE_DESCRIPTION("MC Driver for Intel Sandy Bridge and Ivy Bridge memory controllers - "
35573557
SBRIDGE_REVISION);

drivers/edac/ti_edac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
3+
* Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
44
*
55
* Texas Instruments DDR3 ECC error correction and detection driver
66
*

0 commit comments

Comments
 (0)