Philip Blundell (Philip.Blundell@pobox.com)
Sun, 26 Sep 1999 11:25:46 +0100
>+ 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.
p.
-- 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:43:46 EDT