summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 01:06:32 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 09:09:04 -0800
commitd998265feb7cbcf74e27e3057dac309dcad47bf7 (patch)
tree96f84172a1c79b27f138be40d3773758b3d9dec5
parent3728d254def75837bf57aa4f897ba4f3a3e82d0b (diff)
downloadop-kernel-dev-d998265feb7cbcf74e27e3057dac309dcad47bf7.zip
op-kernel-dev-d998265feb7cbcf74e27e3057dac309dcad47bf7.tar.gz
[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>
-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 1a409c2..7aa2d3d 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);
OpenPOWER on IntegriCloud