]> err.no Git - linux-2.6/commitdiff
[PATCH] arcfb __user annotations
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 15 Dec 2005 09:18:15 +0000 (09:18 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 15 Dec 2005 18:04:30 +0000 (10:04 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/arcfb.c

index 080db812ca487a1a4febf2c0781e58524485e213..2784f0a9d693a20144d260468da19c8468003324 100644 (file)
@@ -441,7 +441,7 @@ static int arcfb_ioctl(struct inode *inode, struct file *file,
  * the fb. it's inefficient for them to do anything less than 64*8
  * writes since we update the lcd in each write() anyway.
  */
-static ssize_t arcfb_write(struct file *file, const char *buf, size_t count,
+static ssize_t arcfb_write(struct file *file, const char __user *buf, size_t count,
                                loff_t *ppos)
 {
        /* modded from epson 1355 */