Skip to content

Commit c543733

Browse files
Al2Klimovpavelmachek
authored andcommitted
leds: 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> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
1 parent 93690cd commit c543733

11 files changed

Lines changed: 13 additions & 13 deletions

File tree

Documentation/devicetree/bindings/leds/leds-lm3532.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ led-controller@38 {
102102
};
103103

104104
For more product information please see the links below:
105-
http://www.ti.com/product/LM3532
105+
https://www.ti.com/product/LM3532

Documentation/devicetree/bindings/leds/leds-lm3601x.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ led-controller@64 {
4747
}
4848

4949
For more product information please see the links below:
50-
http://www.ti.com/product/LM36010
51-
http://www.ti.com/product/LM36011
50+
https://www.ti.com/product/LM36010
51+
https://www.ti.com/product/LM36011

Documentation/devicetree/bindings/leds/leds-lm36274.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ lm36274@11 {
8282
};
8383

8484
For more product information please see the link below:
85-
http://www.ti.com/lit/ds/symlink/lm36274.pdf
85+
https://www.ti.com/lit/ds/symlink/lm36274.pdf

Documentation/devicetree/bindings/leds/leds-lm3692x.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ led-controller@36 {
6262
}
6363

6464
For more product information please see the link below:
65-
http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf
65+
https://www.ti.com/lit/ds/snvsa29/snvsa29.pdf

Documentation/devicetree/bindings/leds/leds-lm3697.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ led-controller@36 {
7070
}
7171

7272
For more product information please see the link below:
73-
http://www.ti.com/lit/ds/symlink/lm3697.pdf
73+
https://www.ti.com/lit/ds/symlink/lm3697.pdf

Documentation/devicetree/bindings/leds/leds-lp8860.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ led-controller@2d {
4747
}
4848

4949
For more product information please see the link below:
50-
http://www.ti.com/product/lp8860-q1
50+
https://www.ti.com/product/lp8860-q1

drivers/leds/leds-lm3532.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0
22
// TI LM3532 LED driver
3-
// Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
4-
// http://www.ti.com/lit/ds/symlink/lm3532.pdf
3+
// Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
4+
// https://www.ti.com/lit/ds/symlink/lm3532.pdf
55

66
#include <linux/i2c.h>
77
#include <linux/leds.h>

drivers/leds/leds-lm3601x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0
22
// Flash and torch driver for Texas Instruments LM3601X LED
33
// Flash driver chip family
4-
// Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
4+
// Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
55

66
#include <linux/delay.h>
77
#include <linux/i2c.h>

drivers/leds/leds-lm36274.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
// TI LM36274 LED chip family driver
3-
// Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
3+
// Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
44

55
#include <linux/bitops.h>
66
#include <linux/device.h>

drivers/leds/leds-lm3692x.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
// TI LM3692x LED chip family driver
3-
// Copyright (C) 2017-18 Texas Instruments Incorporated - http://www.ti.com/
3+
// Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/
44

55
#include <linux/gpio/consumer.h>
66
#include <linux/i2c.h>

0 commit comments

Comments
 (0)