From: Al Viro Date: Thu, 12 Jan 2006 09:06:32 +0000 (-0800) Subject: [PATCH] m68k: zorro __user annotations X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d998265feb7cbcf74e27e3057dac309dcad47bf7;p=openwrt%2Fstaging%2Fblogic.git [PATCH] m68k: zorro __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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);