summaryrefslogtreecommitdiffstats
path: root/drivers/video/arcfb.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-15 09:18:15 +0000
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-15 10:04:30 -0800
commitd22043940eb8d660df9a94e8e439ab4d3d16edab (patch)
tree03122879d846511df7f1a2c4928b7907ae882a7b /drivers/video/arcfb.c
parentcd0306656c15f355e0e533cc0f08691bb98ca912 (diff)
downloadop-kernel-dev-d22043940eb8d660df9a94e8e439ab4d3d16edab.zip
op-kernel-dev-d22043940eb8d660df9a94e8e439ab4d3d16edab.tar.gz
[PATCH] arcfb __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/arcfb.c')
-rw-r--r--drivers/video/arcfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/arcfb.c b/drivers/video/arcfb.c
index 080db81..2784f0a 100644
--- a/drivers/video/arcfb.c
+++ b/drivers/video/arcfb.c
@@ -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 */
OpenPOWER on IntegriCloud