projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba84190
)
USB: serial: cp210x: use in-kernel types in port data
author
Johan Hovold
<johan@kernel.org>
Mon, 13 Jul 2020 10:55:17 +0000
(12:55 +0200)
committer
Johan Hovold
<johan@kernel.org>
Tue, 14 Jul 2020 09:50:45 +0000
(11:50 +0200)
The port data is not exported to user space so use the in-kernel u8
type.
Link:
https://lore.kernel.org/r/20200713105517.27796-6-johan@kernel.org
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cp210x.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/cp210x.c
b/drivers/usb/serial/cp210x.c
index 09445b7a8f64924306c92162228fb9d167c31051..d0c05aa8a0d6e3f848227da8ca125ab62797f4a3 100644
(file)
--- a/
drivers/usb/serial/cp210x.c
+++ b/
drivers/usb/serial/cp210x.c
@@
-266,7
+266,7
@@
enum cp210x_event_state {
};
struct cp210x_port_private {
-
__u8
bInterfaceNumber;
+
u8
bInterfaceNumber;
bool has_swapped_line_ctl;
bool event_mode;
enum cp210x_event_state event_state;