Commit 3659743d authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Greg Kroah-Hartman

staging: comedi: ni: 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: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200721191729.67847-1-grandmaster@al2klimov.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2c183944
...@@ -486,6 +486,6 @@ static struct pci_driver ni6527_pci_driver = { ...@@ -486,6 +486,6 @@ static struct pci_driver ni6527_pci_driver = {
}; };
module_comedi_pci_driver(ni6527_driver, ni6527_pci_driver); module_comedi_pci_driver(ni6527_driver, ni6527_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for National Instruments PCI-6527"); MODULE_DESCRIPTION("Comedi driver for National Instruments PCI-6527");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -817,6 +817,6 @@ static struct pci_driver ni_65xx_pci_driver = { ...@@ -817,6 +817,6 @@ static struct pci_driver ni_65xx_pci_driver = {
}; };
module_comedi_pci_driver(ni_65xx_driver, ni_65xx_pci_driver); module_comedi_pci_driver(ni_65xx_driver, ni_65xx_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for NI PCI-65xx static dio boards"); MODULE_DESCRIPTION("Comedi driver for NI PCI-65xx static dio boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1250,6 +1250,6 @@ static struct pci_driver ni_660x_pci_driver = { ...@@ -1250,6 +1250,6 @@ static struct pci_driver ni_660x_pci_driver = {
}; };
module_comedi_pci_driver(ni_660x_driver, ni_660x_pci_driver); module_comedi_pci_driver(ni_660x_driver, ni_660x_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for NI 660x counter/timer boards"); MODULE_DESCRIPTION("Comedi driver for NI 660x counter/timer boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -277,6 +277,6 @@ static struct pci_driver ni_670x_pci_driver = { ...@@ -277,6 +277,6 @@ static struct pci_driver ni_670x_pci_driver = {
}; };
module_comedi_pci_driver(ni_670x_driver, ni_670x_pci_driver); module_comedi_pci_driver(ni_670x_driver, ni_670x_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -777,6 +777,6 @@ static struct comedi_driver ni_at_a2150_driver = { ...@@ -777,6 +777,6 @@ static struct comedi_driver ni_at_a2150_driver = {
}; };
module_comedi_driver(ni_at_a2150_driver); module_comedi_driver(ni_at_a2150_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -369,6 +369,6 @@ static struct comedi_driver ni_at_ao_driver = { ...@@ -369,6 +369,6 @@ static struct comedi_driver ni_at_ao_driver = {
}; };
module_comedi_driver(ni_at_ao_driver); module_comedi_driver(ni_at_ao_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for NI AT-AO-6/10 boards"); MODULE_DESCRIPTION("Comedi driver for NI AT-AO-6/10 boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -354,7 +354,7 @@ static struct comedi_driver ni_atmio_driver = { ...@@ -354,7 +354,7 @@ static struct comedi_driver ni_atmio_driver = {
}; };
module_comedi_driver(ni_atmio_driver); module_comedi_driver(ni_atmio_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -724,6 +724,6 @@ static struct comedi_driver atmio16d_driver = { ...@@ -724,6 +724,6 @@ static struct comedi_driver atmio16d_driver = {
}; };
module_comedi_driver(atmio16d_driver); module_comedi_driver(atmio16d_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
* *
* IRQ is assigned but not used. * IRQ is assigned but not used.
* *
* Manuals: Register level: http://www.ni.com/pdf/manuals/340698.pdf * Manuals: Register level: https://www.ni.com/pdf/manuals/340698.pdf
* User Manual: http://www.ni.com/pdf/manuals/320676d.pdf * User Manual: https://www.ni.com/pdf/manuals/320676d.pdf
*/ */
#include <linux/module.h> #include <linux/module.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* Kernel-level ISA plug-and-play support for the lab-pc-1200 boards * Kernel-level ISA plug-and-play support for the lab-pc-1200 boards
* has not yet been added to the driver, mainly due to the fact that * has not yet been added to the driver, mainly due to the fact that
* I don't know the device id numbers. If you have one of these boards, * I don't know the device id numbers. If you have one of these boards,
* please file a bug report at http://comedi.org/ so I can get the * please file a bug report at https://comedi.org/ so I can get the
* necessary information from you. * necessary information from you.
* *
* The 1200 series boards have onboard calibration dacs for correcting * The 1200 series boards have onboard calibration dacs for correcting
...@@ -111,6 +111,6 @@ static struct comedi_driver labpc_driver = { ...@@ -111,6 +111,6 @@ static struct comedi_driver labpc_driver = {
}; };
module_comedi_driver(labpc_driver); module_comedi_driver(labpc_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for NI Lab-PC ISA boards"); MODULE_DESCRIPTION("Comedi driver for NI Lab-PC ISA boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1358,6 +1358,6 @@ static void __exit labpc_common_exit(void) ...@@ -1358,6 +1358,6 @@ static void __exit labpc_common_exit(void)
} }
module_exit(labpc_common_exit); module_exit(labpc_common_exit);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi helper for ni_labpc, ni_labpc_pci, ni_labpc_cs"); MODULE_DESCRIPTION("Comedi helper for ni_labpc, ni_labpc_pci, ni_labpc_cs");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -176,6 +176,6 @@ static void __exit ni_labpc_isadma_cleanup_module(void) ...@@ -176,6 +176,6 @@ static void __exit ni_labpc_isadma_cleanup_module(void)
} }
module_exit(ni_labpc_isadma_cleanup_module); module_exit(ni_labpc_isadma_cleanup_module);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi NI Lab-PC ISA DMA support"); MODULE_DESCRIPTION("Comedi NI Lab-PC ISA DMA support");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -128,5 +128,5 @@ static struct pci_driver labpc_pci_driver = { ...@@ -128,5 +128,5 @@ static struct pci_driver labpc_pci_driver = {
module_comedi_pci_driver(labpc_pci_comedi_driver, labpc_pci_driver); module_comedi_pci_driver(labpc_pci_comedi_driver, labpc_pci_driver);
MODULE_DESCRIPTION("Comedi: National Instruments Lab-PC PCI-1200 driver"); MODULE_DESCRIPTION("Comedi: National Instruments Lab-PC PCI-1200 driver");
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* The PCI-6534 requires a firmware upload after power-up to work, the * The PCI-6534 requires a firmware upload after power-up to work, the
* firmware data and instructions for loading it with comedi_config * firmware data and instructions for loading it with comedi_config
* it are contained in the comedi_nonfree_firmware tarball available from * it are contained in the comedi_nonfree_firmware tarball available from
* http://www.comedi.org * https://www.comedi.org
*/ */
#define USE_DMA #define USE_DMA
...@@ -1005,6 +1005,6 @@ static struct pci_driver ni_pcidio_pci_driver = { ...@@ -1005,6 +1005,6 @@ static struct pci_driver ni_pcidio_pci_driver = {
}; };
module_comedi_pci_driver(ni_pcidio_driver, ni_pcidio_pci_driver); module_comedi_pci_driver(ni_pcidio_driver, ni_pcidio_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1472,6 +1472,6 @@ static struct pci_driver ni_pcimio_pci_driver = { ...@@ -1472,6 +1472,6 @@ static struct pci_driver ni_pcimio_pci_driver = {
}; };
module_comedi_pci_driver(ni_pcimio_driver, ni_pcimio_pci_driver); module_comedi_pci_driver(ni_pcimio_driver, ni_pcimio_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -556,7 +556,7 @@ static void __exit ni_routes_module_exit(void) ...@@ -556,7 +556,7 @@ static void __exit ni_routes_module_exit(void)
module_init(ni_routes_module_init); module_init(ni_routes_module_init);
module_exit(ni_routes_module_exit); module_exit(ni_routes_module_exit);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi helper for routing signals-->terminals for NI"); MODULE_DESCRIPTION("Comedi helper for routing signals-->terminals for NI");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
/* **** END simple module entry/exit functions **** */ /* **** END simple module entry/exit functions **** */
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
* RES: 00 01 00 0C 00 08 01 00 00 00 00 02 * RES: 00 01 00 0C 00 08 01 00 00 00 00 02
* *
* *
* Please visit http://www.brickedbrain.com if you need * Please visit https://www.brickedbrain.com if you need
* additional information or have any questions. * additional information or have any questions.
* *
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment