wok-next view ndiswrapper-driver/stuff/kernel-2.6.36.patch @ rev 9909
liblrdf: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 15:26:23 2011 +0200 (2011-05-17) |
parents | |
children |
line source
1 --- ndiswrapper-1.56.orig/driver/loader.c 2010-02-11 03:09:32.000000000 +0100
2 +++ ndiswrapper-1.56/driver/loader.c 2010-10-24 01:38:13.000000000 +0200
3 @@ -750,13 +750,13 @@
4 }
6 /* called with loader_mutex is down */
7 -static int wrapper_ioctl(struct inode *inode, struct file *file,
8 +static long wrapper_unlocked_ioctl(struct file *file,
9 unsigned int cmd, unsigned long arg)
10 {
11 struct load_driver *load_driver;
12 struct load_device load_device;
13 struct load_driver_file load_bin_file;
14 - int ret;
15 + long ret;
16 void __user *addr = (void __user *)arg;
18 ENTER1("cmd: %u", cmd);
19 @@ -831,7 +831,7 @@
21 static struct file_operations wrapper_fops = {
22 .owner = THIS_MODULE,
23 - .ioctl = wrapper_ioctl,
24 + .unlocked_ioctl = wrapper_unlocked_ioctl,
25 .release = wrapper_ioctl_release,
26 };