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

staging: comedi: das: 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/20200721185633.67671-1-grandmaster@al2klimov.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f8cdbd4f
...@@ -465,6 +465,6 @@ static void __exit das08_exit(void) ...@@ -465,6 +465,6 @@ static void __exit das08_exit(void)
} }
module_exit(das08_exit); module_exit(das08_exit);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi common DAS08 support module"); MODULE_DESCRIPTION("Comedi common DAS08 support module");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -185,6 +185,6 @@ static struct comedi_driver das08_isa_driver = { ...@@ -185,6 +185,6 @@ static struct comedi_driver das08_isa_driver = {
}; };
module_comedi_driver(das08_isa_driver); module_comedi_driver(das08_isa_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");
...@@ -91,6 +91,6 @@ static struct pci_driver das08_pci_driver = { ...@@ -91,6 +91,6 @@ static struct pci_driver das08_pci_driver = {
}; };
module_comedi_pci_driver(das08_pci_comedi_driver, das08_pci_driver); module_comedi_pci_driver(das08_pci_comedi_driver, das08_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");
...@@ -1195,6 +1195,6 @@ static struct comedi_driver das16_driver = { ...@@ -1195,6 +1195,6 @@ static struct comedi_driver das16_driver = {
}; };
module_comedi_driver(das16_driver); module_comedi_driver(das16_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for DAS16 compatible boards"); MODULE_DESCRIPTION("Comedi driver for DAS16 compatible boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -617,6 +617,6 @@ static struct comedi_driver das16m1_driver = { ...@@ -617,6 +617,6 @@ static struct comedi_driver das16m1_driver = {
}; };
module_comedi_driver(das16m1_driver); module_comedi_driver(das16m1_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for CIO-DAS16/M1 ISA cards"); MODULE_DESCRIPTION("Comedi driver for CIO-DAS16/M1 ISA cards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1359,6 +1359,6 @@ static struct comedi_driver das1800_driver = { ...@@ -1359,6 +1359,6 @@ static struct comedi_driver das1800_driver = {
}; };
module_comedi_driver(das1800_driver); module_comedi_driver(das1800_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for DAS1800 compatible ISA boards"); MODULE_DESCRIPTION("Comedi driver for DAS1800 compatible ISA boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -739,6 +739,6 @@ static struct comedi_driver driver_das800 = { ...@@ -739,6 +739,6 @@ static struct comedi_driver driver_das800 = {
}; };
module_comedi_driver(driver_das800); module_comedi_driver(driver_das800);
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");
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