wok-6.x annotate ndiswrapper-driver64/stuff/kernel-2.6.36.patch @ rev 21309
1) libfm-extra: fix build while using development sources
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 18 17:17:32 2019 +0300 (2019-04-18) |
parents | |
children |
rev | line source |
---|---|
pascal@20394 | 1 --- ndiswrapper-1.56.orig/driver/loader.c 2010-02-11 03:09:32.000000000 +0100 |
pascal@20394 | 2 +++ ndiswrapper-1.56/driver/loader.c 2010-10-24 01:38:13.000000000 +0200 |
pascal@20394 | 3 @@ -750,13 +750,13 @@ |
pascal@20394 | 4 } |
pascal@20394 | 5 |
pascal@20394 | 6 /* called with loader_mutex is down */ |
pascal@20394 | 7 -static int wrapper_ioctl(struct inode *inode, struct file *file, |
pascal@20394 | 8 +static long wrapper_unlocked_ioctl(struct file *file, |
pascal@20394 | 9 unsigned int cmd, unsigned long arg) |
pascal@20394 | 10 { |
pascal@20394 | 11 struct load_driver *load_driver; |
pascal@20394 | 12 struct load_device load_device; |
pascal@20394 | 13 struct load_driver_file load_bin_file; |
pascal@20394 | 14 - int ret; |
pascal@20394 | 15 + long ret; |
pascal@20394 | 16 void __user *addr = (void __user *)arg; |
pascal@20394 | 17 |
pascal@20394 | 18 ENTER1("cmd: %u", cmd); |
pascal@20394 | 19 @@ -831,7 +831,7 @@ |
pascal@20394 | 20 |
pascal@20394 | 21 static struct file_operations wrapper_fops = { |
pascal@20394 | 22 .owner = THIS_MODULE, |
pascal@20394 | 23 - .ioctl = wrapper_ioctl, |
pascal@20394 | 24 + .unlocked_ioctl = wrapper_unlocked_ioctl, |
pascal@20394 | 25 .release = wrapper_ioctl_release, |
pascal@20394 | 26 }; |
pascal@20394 | 27 |