Skip to content

Commit b1631b8

Browse files
Al2KlimovJiri Kosina
authored andcommitted
HID: 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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 238b5bd commit b1631b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/hid/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ config HID
2020
removed from the HID bus by the transport-layer drivers, such as
2121
usbhid (USB_HID) and hidp (BT_HIDP).
2222

23-
For docs and specs, see http://www.usb.org/developers/hidpage/
23+
For docs and specs, see https://www.usb.org/developers/hidpage/
2424

2525
If unsure, say Y.
2626

drivers/hid/hid-cp2112.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* host communicates with the CP2112 via raw HID reports.
1212
*
1313
* Data Sheet:
14-
* http://www.silabs.com/Support%20Documents/TechnicalDocs/CP2112.pdf
14+
* https://www.silabs.com/Support%20Documents/TechnicalDocs/CP2112.pdf
1515
* Programming Interface Specification:
1616
* https://www.silabs.com/documents/public/application-notes/an495-cp2112-interface-specification.pdf
1717
*/

0 commit comments

Comments
 (0)