Skip to content

Commit

Permalink
drm: omapdrm: Replace HTTP links with HTTPS ones
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
Al2Klimov authored and tomba committed Nov 10, 2020
1 parent 3945ac0 commit 1b409fd
Show file tree
Hide file tree
Showing 37 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* Generic DSI Command Mode panel driver
*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
* Author: Tomi Valkeinen <[email protected]>
*/

Expand Down
4 changes: 2 additions & 2 deletions drivers/gpu/drm/omapdrm/dss/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ config OMAP5_DSS_HDMI
select OMAP2_DSS_HDMI_COMMON
help
HDMI Interface for OMAP5 and similar cores. This adds the High
Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
Definition Multimedia Interface. See https://www.hdmi.org/ for HDMI
specification.

config OMAP2_DSS_SDI
Expand All @@ -101,7 +101,7 @@ config OMAP2_DSS_DSI
DSI is a high speed half-duplex serial interface between the host
processor and a peripheral, such as a display or a framebuffer chip.

See http://www.mipi.org/ for DSI specifications.
See https://www.mipi.org/ for DSI specifications.

config OMAP2_DSS_MIN_FCK_PER_PCK
int "Minimum FCK/PCK ratio (for scaling)"
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* OMAP Display Subsystem Base
*
* Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/
*/

#include <linux/kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/dispc.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Archit Taneja <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/dispc_coefs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Chandrabhanu Mahapatra <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI driver definition for TI OMAP4 Processor.
*
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/
*/

#ifndef _HDMI_H
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi4.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI interface DSS driver for TI's OMAP4 family of SoCs.
*
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/
* Authors: Yong Zhi
* Mythri pk <[email protected]>
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Based on the CEC code from hdmi_ti_4xxx_ip.c from Android.
*
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/
* Authors: Yong Zhi
* Mythri pk <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI TI81xx, TI38xx, TI OMAP4 etc IP driver Library
*
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/
* Authors: Yong Zhi
* Mythri pk <[email protected]>
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi4_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI header definition for OMAP4 HDMI core IP
*
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/
*/

#ifndef _HDMI4_CORE_H_
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi5.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI driver for OMAP5
*
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
*
* Authors:
* Yong Zhi
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* OMAP5 HDMI CORE IP driver library
*
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
* Authors:
* Yong Zhi
* Mythri pk
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi5_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI driver definition for TI OMAP5 processors.
*
* Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/
*/

#ifndef _HDMI5_CORE_H_
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI PHY
*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
*/

#include <linux/kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI PLL
*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
*/

#define DSS_SUBSYS_NAME "HDMIPLL"
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/hdmi_wp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* HDMI wrapper
*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
*/

#define DSS_SUBSYS_NAME "HDMIWP"
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
* Author: Tomi Valkeinen <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/omapdss.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
* Author: Tomi Valkeinen <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/output.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
* Author: Archit Taneja <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/pll.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
*/

#define DSS_SUBSYS_NAME "PLL"
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/dss/video-pll.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
*/

#include <linux/clk.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_connector.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_crtc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_debugfs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_dmm_priv.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
* Andy Gross <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* DMM IOMMU driver support functions for TI OMAP processors.
*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
* Andy Gross <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_dmm_tiler.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
* Andy Gross <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_drv.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_drv.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_encoder.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_fb.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_fbdev.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_gem.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_irq.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/omap_plane.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
* Author: Rob Clark <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/omapdrm/tcm-sita.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Lajos Molnar <[email protected]>
* Andy Gross <[email protected]>
*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
*
* This package is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
Expand Down

0 comments on commit 1b409fd

Please sign in to comment.