Commit e82e16d3 authored by Dave Jones's avatar Dave Jones Committed by Greg Kroah-Hartman

[PATCH] USB: fix suspicious pointer usage in kobil_sct driver.

parent 626c7c35
......@@ -651,7 +651,7 @@ static int kobil_ioctl(struct usb_serial_port *port, struct file *file,
return 0;
case TCSETS: // 0x5402
if (! &port->tty->termios) {
if (!(port->tty->termios)) {
dbg("%s - port %d Error: port->tty->termios is NULL", __FUNCTION__, port->number);
return -ENOTTY;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment