Bug 197283 - Simple typo in drivers/usb/serial/pl2303.h.
Summary: Simple typo in drivers/usb/serial/pl2303.h.
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Console/Framebuffers (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: James Simmons
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-16 09:40 UTC by Takahiro Kujirai
Modified: 2017-10-16 09:58 UTC (History)
0 users

See Also:
Kernel Version: 4.14-rc5(latest mainline)
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Line 37-39 (ELCOM -> ELECOM) (627 bytes, patch)
2017-10-16 09:40 UTC, Takahiro Kujirai
Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.