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

From: Frank Davis (fdavis@si.rr.com)
Date: Fri Feb 07 2003 - 12:09:32 EST


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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:23 EST