Skip to content

Commit aaad294

Browse files
Al2Klimovgregkh
authored andcommitted
serial: altera_jtaguart: 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]> Acked-by: Tobias Klauser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4ed71ad commit aaad294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/altera_jtaguart.c

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

2828
/*
2929
* Altera JTAG UART register definitions according to the Altera JTAG UART
30-
* datasheet: http://www.altera.com/literature/hb/nios2/n2cpu_nii51009.pdf
30+
* datasheet: https://www.altera.com/literature/hb/nios2/n2cpu_nii51009.pdf
3131
*/
3232

3333
#define ALTERA_JTAGUART_SIZE 8

0 commit comments

Comments
 (0)