wok view ndiswrapper-driver64/stuff/kernel-2.6.36.patch @ rev 20505
partclone 0.2.89 -> 0.2.70: dpkg-architecture not used here
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Tue Oct 30 11:23:14 2018 +0000 (2018-10-30) |
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 };