Skip to content

Commit 614a895

Browse files
Al2Klimovrichardweinberger
authored andcommitted
mtd: hyperbus: 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: Richard Weinberger <[email protected]>
1 parent cb41390 commit 614a895

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/mtd/hyperbus/hbmc-am654.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) 2019 Texas Instruments Incorporated - http://www.ti.com/
3+
// Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
44
// Author: Vignesh Raghavendra <[email protected]>
55

66
#include <linux/err.h>

drivers/mtd/hyperbus/hyperbus-core.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) 2019 Texas Instruments Incorporated - http://www.ti.com/
3+
// Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
44
// Author: Vignesh Raghavendra <[email protected]>
55

66
#include <linux/err.h>

include/linux/mtd/hyperbus.h

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) 2019 Texas Instruments Incorporated - http://www.ti.com/
3+
* Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
44
*/
55

66
#ifndef __LINUX_MTD_HYPERBUS_H__

0 commit comments

Comments
 (0)