* Re: PATCH: fix whiteheat always returning -EFAULT
2003-03-21 19:50 PATCH: fix whiteheat always returning -EFAULT Alan Cox
@ 2003-03-21 18:49 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-03-21 18:49 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel, torvalds
On Fri, Mar 21, 2003 at 07:50:04PM +0000, Alan Cox wrote:
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/usb/serial/whiteheat.c linux-2.5.65-ac2/drivers/usb/serial/whiteheat.c
> --- linux-2.5.65/drivers/usb/serial/whiteheat.c 2003-02-10 18:38:18.000000000 +0000
> +++ linux-2.5.65-ac2/drivers/usb/serial/whiteheat.c 2003-03-06 22:00:28.000000000 +0000
> @@ -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)))
Already in Linus's latest -bk tree :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
* PATCH: fix whiteheat always returning -EFAULT
@ 2003-03-21 19:50 Alan Cox
2003-03-21 18:49 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2003-03-21 19:50 UTC (permalink / raw)
To: linux-kernel, torvalds; +Cc: gregkh
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/usb/serial/whiteheat.c linux-2.5.65-ac2/drivers/usb/serial/whiteheat.c
--- linux-2.5.65/drivers/usb/serial/whiteheat.c 2003-02-10 18:38:18.000000000 +0000
+++ linux-2.5.65-ac2/drivers/usb/serial/whiteheat.c 2003-03-06 22:00:28.000000000 +0000
@@ -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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-21 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-21 19:50 PATCH: fix whiteheat always returning -EFAULT Alan Cox
2003-03-21 18:49 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).