summaryrefslogtreecommitdiffstats
path: root/drivers/zorro/proc.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 10:06:32 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 18:09:04 +0100
commitd998265feb7cbcf74e27e3057dac309dcad47bf7 (patch)
tree96f84172a1c79b27f138be40d3773758b3d9dec5 /drivers/zorro/proc.c
parent[PATCH] m68k: amifb __user annotations (diff)
downloadlinux-d998265feb7cbcf74e27e3057dac309dcad47bf7.tar.xz
linux-d998265feb7cbcf74e27e3057dac309dcad47bf7.zip
[PATCH] m68k: zorro __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/zorro/proc.c')
-rw-r--r--drivers/zorro/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/zorro/proc.c b/drivers/zorro/proc.c
index 1a409c2c320c..7aa2d3de6d37 100644
--- a/drivers/zorro/proc.c
+++ b/drivers/zorro/proc.c
@@ -45,7 +45,7 @@ proc_bus_zorro_lseek(struct file *file, loff_t off, int whence)
}
static ssize_t
-proc_bus_zorro_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos)
+proc_bus_zorro_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
{
struct inode *ino = file->f_dentry->d_inode;
struct proc_dir_entry *dp = PDE(ino);