summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/macfb.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-19 22:37:14 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-07-20 11:47:29 +0200
commit7c7b2a35a97c6927fedd5f39c559a413d8259d01 (patch)
treefce422713e8c24519c441228620b60820244765d /drivers/video/fbdev/macfb.c
parentb0487e0d96d58906e286592dd02e7292f53e399a (diff)
downloadlinux-7c7b2a35a97c6927fedd5f39c559a413d8259d01.tar.gz
linux-7c7b2a35a97c6927fedd5f39c559a413d8259d01.tar.bz2
linux-7c7b2a35a97c6927fedd5f39c559a413d8259d01.zip
video: fbdev: 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> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20200719203714.61745-1-grandmaster@al2klimov.de
Diffstat (limited to 'drivers/video/fbdev/macfb.c')
-rw-r--r--drivers/video/fbdev/macfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/macfb.c b/drivers/video/fbdev/macfb.c
index e05a97662ca8..312e35c9aa6c 100644
--- a/drivers/video/fbdev/macfb.c
+++ b/drivers/video/fbdev/macfb.c
@@ -478,7 +478,7 @@ static int macfb_setcolreg(unsigned regno, unsigned red, unsigned green,
break;
/*
* 24-bit colour almost doesn't exist on 68k Macs --
- * http://support.apple.com/kb/TA28634 (Old Article: 10992)
+ * https://support.apple.com/kb/TA28634 (Old Article: 10992)
*/
case 24:
case 32: