projects/linux·commit d998265f

[PATCH] m68k: zorro __user annotations

d998265f · Al Viro <[email protected]> · 2006-01-12 01:06:32 -08:00

Signed-off-by: Al Viro <[email protected]>
Cc: Roman Zippel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
d998265feb7cbcf74e27e3057dac309dcad47bf7
Parents
3728d254

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/zorro/proc.cmodified+1−1View file

drivers/zorro/proc.c

View file
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);