From: Al Viro Date: Thu, 12 Jan 2006 09:06:32 +0000 (-0800) Subject: [PATCH] m68k: zorro __user annotations X-Git-Tag: v2.6.16-rc1~196 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d998265feb7cbcf74e27e3057dac309dcad47bf7;p=linux-2.6 [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 1a409c2c32..7aa2d3de6d 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);