2003-02-07 16:50:28

by Frank Davis

[permalink] [raw]
Subject: [PATCH] 2.5.59: drivers/usb/serial/whiteheat.c

Hello all,
The following patch addresses buzilla bug # 314, and removes an
offending semicolon. Please review for inclusion.

Regards,
Frank

--- linux/drivers/usb/serial/whiteheat.c.old 2003-01-16 21:22:00.000000000 -0500
+++ linux/drivers/usb/serial/whiteheat.c 2003-02-07 03:03:11.000000000 -0500
@@ -783,7 +783,7 @@
if (info->mcr & UART_MCR_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;

break;