wok-6.x view ndiswrapper-driver64/stuff/kernel-2.6.36.patch @ rev 21733
updated pv (1.1.4 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 13:27:36 2019 +0100 (2019-06-13) |
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 };