[PATCH] char/drm/i810_drv.c - compile fix

From: Dan Aloni (karrde@callisto.yi.org)
Date: Tue Sep 05 2000 - 05:42:57 EST


Linus,

Please apply this self explainatory tiny patch against test8-pre4.

Dan Aloni (dax)
karrde@callisto.yi.org

--- linux/drivers/char/drm/i810_drv.c Tue Sep 5 11:47:15 2000
+++ linux.vanilla/drivers/char/drm/i810_drv.c Tue Sep 5 12:21:30 2000
@@ -438,7 +438,7 @@
         if (len > name##_len) len = name##_len; \
         name##_len = strlen(value); \
         if (len && name) { \
- if (copy_to_user(name, value, len, -EFAULT)) \
+ if (copy_to_user(name, value, len)) \
                         return -EFAULT; \
         }
 

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



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:22 EST