#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];
#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;
#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;
}
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;
}
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;
}
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;