Frederick Barnes (frmb@mail.cern.ch)
Sun, 26 Sep 1999 12:44:03 +0200 (CEST)
On Sun, 26 Sep 1999, Philip Blundell wrote:
> >+ par_timeout.tv_usec = (to_jiffies % (long)HZ) * (1000000/HZ);
> >+ if (copy_to_user ((struct timeval *)arg, &par_timeout, sizeof(s
> >truct timeval))) {
> >+ return -EINVAL;
> >+ }
>
> You should return EFAULT here. Otherwise the patch looks OK to me.
>
You're right. I'll just go and fix that..
Fred.
-- +--------------------------------------------------------------------------+ | Fred Barnes | | Frederick.Barnes@cern.ch http://teddy.xylene.com/ | +--------------------------------------------------------------------------+-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Sun 26 Sep 1999 - 06:46:32 EDT