lkml.org 
[lkml]   [2000]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] char/drm/i810_drv.c - compile fix

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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.138 / U:1.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site