Commit 67c06c3a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: whiteheat bugfix (bugzilla.kernel.org #314)

parent 789657f6
...@@ -783,7 +783,7 @@ static int whiteheat_ioctl (struct usb_serial_port *port, struct file * file, un ...@@ -783,7 +783,7 @@ static int whiteheat_ioctl (struct usb_serial_port *port, struct file * file, un
if (info->mcr & UART_MCR_RTS) if (info->mcr & UART_MCR_RTS)
modem_signals |= TIOCM_RTS; modem_signals |= TIOCM_RTS;
if (copy_to_user((unsigned int *)arg, &modem_signals, sizeof(unsigned int))); if (copy_to_user((unsigned int *)arg, &modem_signals, sizeof(unsigned int)))
return -EFAULT; return -EFAULT;
break; break;
......
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