ChangeSet 1.1143.1.7, 2003/03/20 13:43:12-08:00, [EMAIL PROTECTED]

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


 drivers/usb/serial/whiteheat.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c
--- a/drivers/usb/serial/whiteheat.c    Thu Mar 20 15:03:34 2003
+++ b/drivers/usb/serial/whiteheat.c    Thu Mar 20 15:03:34 2003
@@ -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;



-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to