Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160540 Details for
Bug 222025
media-sound/alsa-driver-1.0.16 doesn't compile with >=sys-kernel/vanilla-sources-2.6.25
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix compilation with 2.6.26 kernels from upstream hg
alsa-driver-1.0.16-remove-proc_root.patch (text/plain), 1.15 KB, created by
Arun Raghavan (RETIRED)
on 2008-07-16 11:19:47 UTC
(
hide
)
Description:
Patch to fix compilation with 2.6.26 kernels from upstream hg
Filename:
MIME Type:
Creator:
Arun Raghavan (RETIRED)
Created:
2008-07-16 11:19:47 UTC
Size:
1.15 KB
patch
obsolete
> ># HG changeset patch ># User tiwai ># Date 1209723754 -7200 ># Node ID dd67eb84e184637d758b5f617e8e0a8888e2d26d ># Parent 56b61dbd8a20ba15c527910dfd42fc40f5ea8cab >proc: remove proc_root from drivers > >Remove proc_root export. Creation and removal works well if parent PDE is >supplied as NULL -- it worked always that way. > >So, one useless export removed and consistency added, some drivers created >PDEs with &proc_root as parent but removed them as NULL and so on. > >Patch-level: Merged >Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> > >--- a/core/info.c Fri May 02 12:15:02 2008 +0200 >+++ b/core/info.c Fri May 02 12:22:34 2008 +0200 >@@ -544,7 +544,7 @@ int __init snd_info_init(void) > { > struct proc_dir_entry *p; > >- p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, &proc_root); >+ p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, NULL); > if (p == NULL) > return -ENOMEM; > snd_proc_root = p; >@@ -594,7 +594,7 @@ int __exit snd_info_done(void) > #ifdef CONFIG_SND_OSSEMUL > snd_info_free_entry(snd_oss_root); > #endif >- snd_remove_proc_entry(&proc_root, snd_proc_root); >+ snd_remove_proc_entry(NULL, snd_proc_root); > } > return 0; > } >
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 222025
:
153093
|
154521
| 160540