summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/bq2515x_charger.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-13 21:16:38 +0200
committerSebastian Reichel <sre@kernel.org>2020-07-28 02:07:35 +0200
commit81bd45fc36e3d01db66c17fa5ed5f39a61e67477 (patch)
treef926ba4a5c3f213acba354246ffc03d95a10e856 /drivers/power/supply/bq2515x_charger.c
parenta7f79f99541eff4e6bcae0014eb08d3019337565 (diff)
downloadlinux-81bd45fc36e3d01db66c17fa5ed5f39a61e67477.tar.bz2
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/bq2515x_charger.c')
-rw-r--r--drivers/power/supply/bq2515x_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/bq2515x_charger.c b/drivers/power/supply/bq2515x_charger.c
index 63e8e317af56..36b0c8c98d40 100644
--- a/drivers/power/supply/bq2515x_charger.c
+++ b/drivers/power/supply/bq2515x_charger.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
// BQ2515X Battery Charger Driver
-// Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
+// Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
#include <linux/err.h>
#include <linux/i2c.h>