Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38225 Details for
Bug 60424
madwifi-driver-0.1_pre20040726 does not compile with linux-2.6.8.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proc_dointvec.patch
proc_dointvec.patch (text/plain), 1.69 KB, created by
Per Cederberg
on 2004-08-26 01:19:58 UTC
(
hide
)
Description:
proc_dointvec.patch
Filename:
MIME Type:
Creator:
Per Cederberg
Created:
2004-08-26 01:19:58 UTC
Size:
1.69 KB
patch
obsolete
>diff -ur ./ath/if_ath.c temp/ath/if_ath.c >--- ./ath/if_ath.c 2004-08-05 19:10:04.000000000 +0200 >+++ temp/ath/if_ath.c 2004-08-26 09:56:50.622657976 +0200 >@@ -4557,7 +4557,7 @@ > > static int > ath_sysctl_halparam(ctl_table *ctl, int write, struct file *filp, >- void *buffer, size_t *lenp) >+ void *buffer, size_t *lenp,loff_t *ppos) > { > struct ath_softc *sc = ctl->extra1; > u_int val; >@@ -4566,7 +4566,7 @@ > ctl->data = &val; > ctl->maxlen = sizeof(val); > if (write) { >- ret = proc_dointvec(ctl, write, filp, buffer, lenp); >+ ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); > if (ret == 0) { > switch (ctl->ctl_name) { > case ATH_SLOTTIME: >@@ -4618,7 +4618,7 @@ > default: > return -EINVAL; > } >- ret = proc_dointvec(ctl, write, filp, buffer, lenp); >+ ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); > } > return ret; > } >diff -ur ./net80211/ieee80211_linux.c temp/net80211/ieee80211_linux.c >--- ./net80211/ieee80211_linux.c 2004-08-05 07:00:02.000000000 +0200 >+++ temp/net80211/ieee80211_linux.c 2004-08-26 09:56:50.771635328 +0200 >@@ -357,7 +357,7 @@ > > static int > ieee80211_sysctl_debug(ctl_table *ctl, int write, struct file *filp, >- void *buffer, size_t *lenp) >+ void *buffer, size_t *lenp, loff_t *ppos) > { > struct ieee80211com *ic = ctl->extra1; > u_int val; >@@ -366,12 +366,12 @@ > ctl->data = &val; > ctl->maxlen = sizeof(val); > if (write) { >- ret = proc_dointvec(ctl, write, filp, buffer, lenp); >+ ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); > if (ret == 0) > ic->msg_enable = val; > } else { > val = ic->msg_enable; >- ret = proc_dointvec(ctl, write, filp, buffer, lenp); >+ ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); > } > return ret; > }
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 60424
: 38225 |
38228