Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 151831 Details for
Bug 218612
app-misc/lirc-0.8.3_pre1 Oops with gentoo-sources-2.6.25-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for lirc-i2c to fix oops with kernel 2.6.25 (proper)
lirc-0.8.3_pre3-i2c-kernel-2.6.25.patch (text/plain), 519 bytes, created by
enkil
on 2008-05-04 17:28:57 UTC
(
hide
)
Description:
Patch for lirc-i2c to fix oops with kernel 2.6.25 (proper)
Filename:
MIME Type:
Creator:
enkil
Created:
2008-05-04 17:28:57 UTC
Size:
519 bytes
patch
obsolete
>--- lirc-0.8.3pre3/drivers/lirc_i2c/lirc_i2c.c.orig 2008-05-04 17:30:57.000000000 +0200 >+++ lirc-0.8.3pre3/drivers/lirc_i2c/lirc_i2c.c 2008-05-04 17:31:45.000000000 +0200 >@@ -329,12 +329,17 @@ > static int set_use_inc(void *data) > { > struct IR *ir = data; >+ >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25) > int ret; > > /* lock bttv in memory while /dev/lirc is in use */ > ret = i2c_use_client(&ir->c); > if (ret != 0) > return ret; >+#else >+ i2c_use_client(&ir->c); >+#endif > > MOD_INC_USE_COUNT; > 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 218612
:
151819
| 151831 |
151833