X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fparport%2Fprocfs.c;h=afa6ac45a5dab1cefb4f78edfae6d552f93e4b46;hb=720b94a4e7548e78be55ab8fd3be4686c57dc808;hp=d08504abd6849c85573c9cef42eb90b68d7a3cf4;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index d08504abd..afa6ac45a 100644 --- a/drivers/parport/procfs.c +++ b/drivers/parport/procfs.c @@ -33,7 +33,7 @@ #define PARPORT_MAX_SPINTIME_VALUE 1000 static int do_active_device(ctl_table *table, int write, struct file *filp, - void *result, size_t *lenp) + void __user *result, size_t *lenp) { struct parport *port = (struct parport *)table->extra1; char buffer[256]; @@ -70,7 +70,7 @@ static int do_active_device(ctl_table *table, int write, struct file *filp, #ifdef CONFIG_PARPORT_1284 static int do_autoprobe(ctl_table *table, int write, struct file *filp, - void *result, size_t *lenp) + void __user *result, size_t *lenp) { struct parport_device_info *info = table->extra2; const char *str; @@ -112,7 +112,7 @@ static int do_autoprobe(ctl_table *table, int write, struct file *filp, #endif /* IEEE1284.3 support. */ static int do_hardware_base_addr (ctl_table *table, int write, - struct file *filp, void *result, + struct file *filp, void __user *result, size_t *lenp) { struct parport *port = (struct parport *)table->extra1; @@ -140,7 +140,7 @@ static int do_hardware_base_addr (ctl_table *table, int write, } static int do_hardware_irq (ctl_table *table, int write, - struct file *filp, void *result, + struct file *filp, void __user *result, size_t *lenp) { struct parport *port = (struct parport *)table->extra1; @@ -168,7 +168,7 @@ static int do_hardware_irq (ctl_table *table, int write, } static int do_hardware_dma (ctl_table *table, int write, - struct file *filp, void *result, + struct file *filp, void __user *result, size_t *lenp) { struct parport *port = (struct parport *)table->extra1; @@ -196,7 +196,7 @@ static int do_hardware_dma (ctl_table *table, int write, } static int do_hardware_modes (ctl_table *table, int write, - struct file *filp, void *result, + struct file *filp, void __user *result, size_t *lenp) { struct parport *port = (struct parport *)table->extra1;