From: Alexander A. Klimov Date: Mon, 13 Jul 2020 17:24:39 +0000 (+0200) Subject: net: jme: Replace HTTP links with HTTPS ones X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d788a0b512f5f97d00286e9c1438517e40d19703;p=linux.git net: jme: 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c index c97c74164c735..ddc7576800895 100644 --- a/drivers/net/ethernet/jme.c +++ b/drivers/net/ethernet/jme.c @@ -3,7 +3,7 @@ * JMicron JMC2x0 series PCIe Ethernet Linux Device Driver * * Copyright 2008 JMicron Technology Corporation - * http://www.jmicron.com/ + * https://www.jmicron.com/ * Copyright (c) 2009 - 2010 Guo-Fu Tseng * * Author: Guo-Fu Tseng diff --git a/drivers/net/ethernet/jme.h b/drivers/net/ethernet/jme.h index 2bba5ce202891..a2c3b00d939d0 100644 --- a/drivers/net/ethernet/jme.h +++ b/drivers/net/ethernet/jme.h @@ -3,7 +3,7 @@ * JMicron JMC2x0 series PCIe Ethernet Linux Device Driver * * Copyright 2008 JMicron Technology Corporation - * http://www.jmicron.com/ + * https://www.jmicron.com/ * Copyright (c) 2009 - 2010 Guo-Fu Tseng * * Author: Guo-Fu Tseng