diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 22:06:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-22 14:43:48 +0100 |
commit | 2ca76b3e4954ea6bbb365005edc8d5237b488cf1 (patch) | |
tree | a1d14b5d7be69aa1422c2c3d279e0ddaf1186c93 /drivers/regulator/tps65218-regulator.c | |
parent | 175a1d84154d4077da437b873319bd094b266ab8 (diff) | |
download | lwn-2ca76b3e4954ea6bbb365005edc8d5237b488cf1.tar.gz lwn-2ca76b3e4954ea6bbb365005edc8d5237b488cf1.zip |
regulator: 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>
Link: https://lore.kernel.org/r/20200719200623.61524-1-grandmaster@al2klimov.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/tps65218-regulator.c')
-rw-r--r-- | drivers/regulator/tps65218-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c index 9133d0af793a..fa263545a70e 100644 --- a/drivers/regulator/tps65218-regulator.c +++ b/drivers/regulator/tps65218-regulator.c @@ -3,7 +3,7 @@ * * Regulator driver for TPS65218 PMIC * - * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 2 as |