Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: davinci: replace http references with https

TI DAVINCI SERIES MEDIA DRIVER: 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`:
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>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Alexander A. Klimov and committed by
Mauro Carvalho Chehab
bb79974c cf293a4f

+6 -6
+1 -1
drivers/media/platform/davinci/vpbe_display.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 3 + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ 4 4 */ 5 5 #include <linux/kernel.h> 6 6 #include <linux/init.h>
+1 -1
drivers/media/platform/davinci/vpif.c
··· 5 5 * The hardware supports SDTV, HDTV formats, raw data capture. 6 6 * Currently, the driver supports NTSC and PAL standards. 7 7 * 8 - * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ 8 + * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ 9 9 * 10 10 * This program is free software; you can redistribute it and/or 11 11 * modify it under the terms of the GNU General Public License as
+1 -1
drivers/media/platform/davinci/vpif.h
··· 1 1 /* 2 2 * VPIF header file 3 3 * 4 - * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ 4 + * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ 5 5 * 6 6 * This program is free software; you can redistribute it and/or 7 7 * modify it under the terms of the GNU General Public License as
+1 -1
drivers/media/platform/davinci/vpif_display.c
··· 2 2 * vpif-display - VPIF display driver 3 3 * Display driver for TI DaVinci VPIF 4 4 * 5 - * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ 5 + * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ 6 6 * Copyright (C) 2014 Lad, Prabhakar <prabhakar.csengg@gmail.com> 7 7 * 8 8 * This program is free software; you can redistribute it and/or
+1 -1
drivers/media/platform/davinci/vpif_display.h
··· 1 1 /* 2 2 * VPIF display header file 3 3 * 4 - * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ 4 + * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ 5 5 * 6 6 * This program is free software; you can redistribute it and/or 7 7 * modify it under the terms of the GNU General Public License as
+1 -1
include/media/davinci/vpbe_display.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 - * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 3 + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ 4 4 */ 5 5 #ifndef VPBE_DISPLAY_H 6 6 #define VPBE_DISPLAY_H