Bug 197283

Summary: Simple typo in drivers/usb/serial/pl2303.h.
Product: Drivers Reporter: Takahiro Kujirai (kujiraitakahiro)
Component: Console/FramebuffersAssignee: James Simmons (jsimmons)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.14-rc5(latest mainline) Subsystem:
Regression: No Bisected commit-id:
Attachments: Line 37-39 (ELCOM -> ELECOM)

Description Takahiro Kujirai 2017-10-16 09:40:41 UTC
Created attachment 258853 [details]
Line 37-39 (ELCOM -> ELECOM)

I found a simple typo in drivers/usb/serial/pl2303.h.

"ELCOM" at line 37-39, but the "ELECOM" is correct.
-------
diff -u pl2303_before.h pl2303.h 
--- pl2303.h	2017-10-16 18:19:57.000000000 +0900
+++ pl2303.h	2017-10-16 18:20:48.000000000 +0900
@@ -34,9 +34,9 @@
 #define IODATA_PRODUCT_ID	0x0a03
 #define IODATA_PRODUCT_ID_RSAQ5	0x0a0e
 
-#define ELCOM_VENDOR_ID		0x056e
-#define ELCOM_PRODUCT_ID	0x5003
-#define ELCOM_PRODUCT_ID_UCSGT	0x5004
+#define ELECOM_VENDOR_ID		0x056e
+#define ELECOM_PRODUCT_ID	0x5003
+#define ELECOM_PRODUCT_ID_UCSGT	0x5004
 
 #define ITEGNO_VENDOR_ID	0x0eba
 #define ITEGNO_PRODUCT_ID	0x1080
@@ -150,4 +150,3 @@
 /* SMART USB Serial Adapter */
 #define SMART_VENDOR_ID	0x0b8c
 #define SMART_PRODUCT_ID	0x2303


Takahiro Kujirai
kujiraitakahiro@gmail.com
Comment 1 Takahiro Kujirai 2017-10-16 09:58:46 UTC
I send "drivers/usb/serial/pl2303.c".

--- drivers/usb/serial/pl2303.c	2017-10-16 18:54:47.000000000 +0900
+++ drivers/usb/serial/pl2303.c	2017-10-16 18:55:33.000000000 +0900
@@ -56,8 +56,8 @@
.driver_info = PL2303_QUIRK_ENDPOINT_HACK },
{ USB_DEVICE(ATEN_VENDOR_ID, ATEN_PRODUCT_ID2) },
{ USB_DEVICE(ATEN_VENDOR_ID2, ATEN_PRODUCT_ID) },
-	{ USB_DEVICE(ELCOM_VENDOR_ID, ELCOM_PRODUCT_ID) },
-	{ USB_DEVICE(ELCOM_VENDOR_ID, ELCOM_PRODUCT_ID_UCSGT) },
+	{ USB_DEVICE(ELECOM_VENDOR_ID, ELECOM_PRODUCT_ID) },
+	{ USB_DEVICE(ELECOM_VENDOR_ID, ELECOM_PRODUCT_ID_UCSGT) },
{ USB_DEVICE(ITEGNO_VENDOR_ID, ITEGNO_PRODUCT_ID) },
{ USB_DEVICE(ITEGNO_VENDOR_ID, ITEGNO_PRODUCT_ID_2080) },
{ USB_DEVICE(MA620_VENDOR_ID, MA620_PRODUCT_ID) },


Takahiro Kujirai
kujiraitakahiro@gmail.com