Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
drivers
/
usb
/
serial
/
symbolserial.c
diff --git
a/kernel/drivers/usb/serial/symbolserial.c
b/kernel/drivers/usb/serial/symbolserial.c
index
8fceec7
..
6ed8044
100644
(file)
--- a/
kernel/drivers/usb/serial/symbolserial.c
+++ b/
kernel/drivers/usb/serial/symbolserial.c
@@
-94,7
+94,7
@@
exit:
static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port)
{
static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port)
{
- struct symbol_private *priv = usb_get_serial_
data(port->serial
);
+ struct symbol_private *priv = usb_get_serial_
port_data(port
);
unsigned long flags;
int result = 0;
unsigned long flags;
int result = 0;
@@
-120,7
+120,7
@@
static void symbol_close(struct usb_serial_port *port)
static void symbol_throttle(struct tty_struct *tty)
{
struct usb_serial_port *port = tty->driver_data;
static void symbol_throttle(struct tty_struct *tty)
{
struct usb_serial_port *port = tty->driver_data;
- struct symbol_private *priv = usb_get_serial_
data(port->serial
);
+ struct symbol_private *priv = usb_get_serial_
port_data(port
);
spin_lock_irq(&priv->lock);
priv->throttled = true;
spin_lock_irq(&priv->lock);
priv->throttled = true;
@@
-130,7
+130,7
@@
static void symbol_throttle(struct tty_struct *tty)
static void symbol_unthrottle(struct tty_struct *tty)
{
struct usb_serial_port *port = tty->driver_data;
static void symbol_unthrottle(struct tty_struct *tty)
{
struct usb_serial_port *port = tty->driver_data;
- struct symbol_private *priv = usb_get_serial_
data(port->serial
);
+ struct symbol_private *priv = usb_get_serial_
port_data(port
);
int result;
bool was_throttled;
int result;
bool was_throttled;