[PATCH 31/41] m68k: zorro __user annotations

From: Al Viro
Date: Tue Jan 03 2006 - 18:33:51 EST


From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Date: 1135011952 -0500

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

---

drivers/zorro/proc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

058382ec23b56fd05928b3d1336aa25ea38af26d
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,
}

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);
--
0.99.9.GIT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/