Skip to content

Commit 81bd45f

Browse files
Al2Klimovsre
authored andcommitted
power: supply: bq2xxxx: 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]> [also update recently added ti.com http links] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent a7f79f9 commit 81bd45f

File tree

6 files changed

+39
-39
lines changed

6 files changed

+39
-39
lines changed

drivers/power/supply/bq2415x_charger.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
* Copyright (C) 2011-2013 Pali Rohár <[email protected]>
66
*
77
* Datasheets:
8-
* http://www.ti.com/product/bq24150
9-
* http://www.ti.com/product/bq24150a
10-
* http://www.ti.com/product/bq24152
11-
* http://www.ti.com/product/bq24153
12-
* http://www.ti.com/product/bq24153a
13-
* http://www.ti.com/product/bq24155
14-
* http://www.ti.com/product/bq24157s
15-
* http://www.ti.com/product/bq24158
8+
* https://www.ti.com/product/bq24150
9+
* https://www.ti.com/product/bq24150a
10+
* https://www.ti.com/product/bq24152
11+
* https://www.ti.com/product/bq24153
12+
* https://www.ti.com/product/bq24153a
13+
* https://www.ti.com/product/bq24155
14+
* https://www.ti.com/product/bq24157s
15+
* https://www.ti.com/product/bq24158
1616
*/
1717

1818
#include <linux/kernel.h>

drivers/power/supply/bq24257_charger.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* Copyright (C) 2015 Intel Corporation
66
*
77
* Datasheets:
8-
* http://www.ti.com/product/bq24250
9-
* http://www.ti.com/product/bq24251
10-
* http://www.ti.com/product/bq24257
8+
* https://www.ti.com/product/bq24250
9+
* https://www.ti.com/product/bq24251
10+
* https://www.ti.com/product/bq24257
1111
*/
1212

1313
#include <linux/module.h>

drivers/power/supply/bq2515x_charger.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
// BQ2515X Battery Charger Driver
3-
// Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
3+
// Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
44

55
#include <linux/err.h>
66
#include <linux/i2c.h>

drivers/power/supply/bq27xxx_battery.c

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,31 @@
1818
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1919
*
2020
* Datasheets:
21-
* http://www.ti.com/product/bq27000
22-
* http://www.ti.com/product/bq27200
23-
* http://www.ti.com/product/bq27010
24-
* http://www.ti.com/product/bq27210
25-
* http://www.ti.com/product/bq27500
26-
* http://www.ti.com/product/bq27510-g1
27-
* http://www.ti.com/product/bq27510-g2
28-
* http://www.ti.com/product/bq27510-g3
29-
* http://www.ti.com/product/bq27520-g1
30-
* http://www.ti.com/product/bq27520-g2
31-
* http://www.ti.com/product/bq27520-g3
32-
* http://www.ti.com/product/bq27520-g4
33-
* http://www.ti.com/product/bq27530-g1
34-
* http://www.ti.com/product/bq27531-g1
35-
* http://www.ti.com/product/bq27541-g1
36-
* http://www.ti.com/product/bq27542-g1
37-
* http://www.ti.com/product/bq27546-g1
38-
* http://www.ti.com/product/bq27742-g1
39-
* http://www.ti.com/product/bq27545-g1
40-
* http://www.ti.com/product/bq27421-g1
41-
* http://www.ti.com/product/bq27425-g1
42-
* http://www.ti.com/product/bq27426
43-
* http://www.ti.com/product/bq27411-g1
44-
* http://www.ti.com/product/bq27441-g1
45-
* http://www.ti.com/product/bq27621-g1
21+
* https://www.ti.com/product/bq27000
22+
* https://www.ti.com/product/bq27200
23+
* https://www.ti.com/product/bq27010
24+
* https://www.ti.com/product/bq27210
25+
* https://www.ti.com/product/bq27500
26+
* https://www.ti.com/product/bq27510-g1
27+
* https://www.ti.com/product/bq27510-g2
28+
* https://www.ti.com/product/bq27510-g3
29+
* https://www.ti.com/product/bq27520-g1
30+
* https://www.ti.com/product/bq27520-g2
31+
* https://www.ti.com/product/bq27520-g3
32+
* https://www.ti.com/product/bq27520-g4
33+
* https://www.ti.com/product/bq27530-g1
34+
* https://www.ti.com/product/bq27531-g1
35+
* https://www.ti.com/product/bq27541-g1
36+
* https://www.ti.com/product/bq27542-g1
37+
* https://www.ti.com/product/bq27546-g1
38+
* https://www.ti.com/product/bq27742-g1
39+
* https://www.ti.com/product/bq27545-g1
40+
* https://www.ti.com/product/bq27421-g1
41+
* https://www.ti.com/product/bq27425-g1
42+
* https://www.ti.com/product/bq27426
43+
* https://www.ti.com/product/bq27411-g1
44+
* https://www.ti.com/product/bq27441-g1
45+
* https://www.ti.com/product/bq27621-g1
4646
*/
4747

4848
#include <linux/device.h>

drivers/power/supply/bq27xxx_battery_hdq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BQ27xxx battery monitor HDQ/1-wire driver
33
*
4-
* Copyright (C) 2007-2017 Texas Instruments Incorporated - http://www.ti.com/
4+
* Copyright (C) 2007-2017 Texas Instruments Incorporated - https://www.ti.com/
55
*
66
* This program is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License version 2 as

drivers/power/supply/bq27xxx_battery_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BQ27xxx battery monitor I2C driver
33
*
4-
* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
4+
* Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/
55
* Andrew F. Davis <[email protected]>
66
*
77
* This program is free software; you can redistribute it and/or modify

0 commit comments

Comments
 (0)