Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 163996 Details for
Bug 232700
media-video/qc-usb-messenger-1.7-r1 + kernel 2.6.26 - qc-driver.c:1615: error: request for member 'counter' in something not a structure or union
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch fixes the compile error on 2.6.26 kernel
qc-usb-0.6.6-kcompat-2.6.26.patch (text/plain), 1.10 KB, created by
Stijn Tintel
on 2008-08-28 14:02:24 UTC
(
hide
)
Description:
This patch fixes the compile error on 2.6.26 kernel
Filename:
MIME Type:
Creator:
Stijn Tintel
Created:
2008-08-28 14:02:24 UTC
Size:
1.10 KB
patch
obsolete
>From kernel 2.6.26rc2, SetPageReserved and ClearPageReserved changed from >macros to inline functions, that are generated using macros (among which >SETPAGEFLAG). > >The functions were redefined because they don't exist as macros, and then >preventing compilation. > >This patch allows to compile the quickcam/qce-ga/qc-usb module on kernels >2.6.26rc2 and later. > >An other fix could use #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26). > >Signed-off-by: Guillaume Bedot <littletux@mandriva.org> >--- qc-usb-0.6.6.orig/qc-memory.c 2008-05-27 16:41:19.000000000 +0200 >+++ qc-usb-0.6.6/qc-memory.c 2008-05-27 16:41:35.000000000 +0200 >@@ -81,12 +81,14 @@ > #define pte_offset(pmd,adr) pte_offset_map(pmd,adr) /* Emulation for a kernel using the new rmap-vm */ > #endif /* Fix by Michele Balistreri <brain87@gmx.net> */ > >+#ifndef SETPAGEFLAG > #ifndef SetPageReserved > #define SetPageReserved(p) mem_map_reserve(p) > #endif > #ifndef ClearPageReserved > #define ClearPageReserved(p) mem_map_unreserve(p) > #endif >+#endif > /* }}} */ > > /* {{{ [fold] kvirt_to_pa(): obtain physical address from virtual address obtained by vmalloc() */
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 232700
:
163996
|
164001
|
167502
|
167504