Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 251791 Details for
Bug 342159
net-wireless/ndiswrapper-1.56 fails compilation under 2.6.36
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change ioctl to unlocked_ioctl ops
ndiswrapper-1.56-2.6.36.patch (text/plain), 803 bytes, created by
Mario Lozza
on 2010-10-24 10:44:09 UTC
(
hide
)
Description:
Change ioctl to unlocked_ioctl ops
Filename:
MIME Type:
Creator:
Mario Lozza
Created:
2010-10-24 10:44:09 UTC
Size:
803 bytes
patch
obsolete
>--- ndiswrapper-1.56.orig/driver/loader.c 2010-02-11 03:09:32.000000000 +0100 >+++ ndiswrapper-1.56/driver/loader.c 2010-10-24 01:38:13.000000000 +0200 >@@ -750,13 +750,13 @@ > } > > /* called with loader_mutex is down */ >-static int wrapper_ioctl(struct inode *inode, struct file *file, >+static long wrapper_unlocked_ioctl(struct file *file, > unsigned int cmd, unsigned long arg) > { > struct load_driver *load_driver; > struct load_device load_device; > struct load_driver_file load_bin_file; >- int ret; >+ long ret; > void __user *addr = (void __user *)arg; > > ENTER1("cmd: %u", cmd); >@@ -831,7 +831,7 @@ > > static struct file_operations wrapper_fops = { > .owner = THIS_MODULE, >- .ioctl = wrapper_ioctl, >+ .unlocked_ioctl = wrapper_unlocked_ioctl, > .release = wrapper_ioctl_release, > }; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 342159
: 251791 |
254727