summaryrefslogtreecommitdiff
path: root/include/linux/fb.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-06-18 02:33:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-18 02:33:31 -0700
commitd8c75b272946cad2acbb98f72603ad37fb42e783 (patch)
tree38e2f3faf57c86c1800229a496d3ce456f498953 /include/linux/fb.h
parent14699e90ffa0ef90322d4839fd2c40cf20569750 (diff)
[PATCH] sparse: drivers/video partial annotation
misc annotation in drivers/video/* (nowhere near complete)
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 84f0fe1a4984..55c4cf362e19 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -458,8 +458,8 @@ struct fb_ops {
/* For framebuffers with strange non linear layouts or that do not
* work with normal memory mapped access
*/
- ssize_t (*fb_read)(struct file *file, char *buf, size_t count, loff_t *ppos);
- ssize_t (*fb_write)(struct file *file, const char *buf, size_t count, loff_t *ppos);
+ ssize_t (*fb_read)(struct file *file, char __user *buf, size_t count, loff_t *ppos);
+ ssize_t (*fb_write)(struct file *file, const char __user *buf, size_t count, loff_t *ppos);
/* checks var and eventually tweaks it to something supported,
* DO NOT MODIFY PAR */