Skip to content

Commit d4c2b4e

Browse files
Al2Klimovgregkh
authored andcommitted
tty: serial: 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a6fdf0c commit d4c2b4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/tty/serial/8250/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ config SERIAL_8250_MANY_PORTS
222222
Say Y here if you have dumb serial boards other than the four
223223
standard COM 1/2/3/4 ports. This may happen if you have an AST
224224
FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
225-
from <http://www.tldp.org/docs.html#howto>), or other custom
225+
from <https://www.tldp.org/docs.html#howto>), or other custom
226226
serial port hardware which acts similar to standard serial port
227227
hardware. If you only use the standard COM 1/2/3/4 ports, you can
228228
say N here to save some memory. You can also say Y if you have an
@@ -266,7 +266,7 @@ config SERIAL_8250_BOCA
266266
depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
267267
help
268268
Say Y here if you have a Boca serial board. Please read the Boca
269-
mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>
269+
mini-HOWTO, available from <https://www.tldp.org/docs.html#howto>
270270

271271
To compile this driver as a module, choose M here: the module
272272
will be called 8250_boca.

drivers/tty/serial/jsm/jsm_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include "jsm.h"
1818

19-
MODULE_AUTHOR("Digi International, http://www.digi.com");
19+
MODULE_AUTHOR("Digi International, https://www.digi.com");
2020
MODULE_DESCRIPTION("Driver for the Digi International Neo and Classic PCI based product line");
2121
MODULE_LICENSE("GPL");
2222
MODULE_SUPPORTED_DEVICE("jsm");

0 commit comments

Comments
 (0)