diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-13 22:16:38 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-07-28 03:07:35 +0300 |
commit | 81bd45fc36e3d01db66c17fa5ed5f39a61e67477 (patch) | |
tree | f926ba4a5c3f213acba354246ffc03d95a10e856 /drivers/power/supply/bq24257_charger.c | |
parent | a7f79f99541eff4e6bcae0014eb08d3019337565 (diff) | |
download | linux-81bd45fc36e3d01db66c17fa5ed5f39a61e67477.tar.xz |
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 <grandmaster@al2klimov.de>
[also update recently added ti.com http links]
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/bq24257_charger.c')
-rw-r--r-- | drivers/power/supply/bq24257_charger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/supply/bq24257_charger.c b/drivers/power/supply/bq24257_charger.c index eb151687beb3..8e60cb0f3c3f 100644 --- a/drivers/power/supply/bq24257_charger.c +++ b/drivers/power/supply/bq24257_charger.c @@ -5,9 +5,9 @@ * Copyright (C) 2015 Intel Corporation * * Datasheets: - * http://www.ti.com/product/bq24250 - * http://www.ti.com/product/bq24251 - * http://www.ti.com/product/bq24257 + * https://www.ti.com/product/bq24250 + * https://www.ti.com/product/bq24251 + * https://www.ti.com/product/bq24257 */ #include <linux/module.h> |