Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133473 Details for
Bug 195891
app-laptop/acpi4asus should not compile a kernel module on 2.6.23 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
acpi4asus-0.41-2.6.23.patch
acpi4asus-0.41-2.6.23.patch (text/plain), 1.54 KB, created by
thanahauser
on 2007-10-14 20:54:23 UTC
(
hide
)
Description:
acpi4asus-0.41-2.6.23.patch
Filename:
MIME Type:
Creator:
thanahauser
Created:
2007-10-14 20:54:23 UTC
Size:
1.54 KB
patch
obsolete
>--- acpi4asus-0.41.orig/driver/asus-laptop.c 2007-10-14 22:16:49.000000000 +0200 >+++ acpi4asus-0.41/driver/asus-laptop.c 2007-10-14 22:14:43.000000000 +0200 >@@ -731,7 +731,7 @@ > lcd_blank(FB_BLANK_POWERDOWN); > } > >- acpi_bus_generate_event(hotk->device, event, >+ acpi_bus_generate_proc_event(hotk->device, event, > hotk->event_count[event % 128]++); > > return; >@@ -1074,12 +1074,11 @@ > } > > #define ASUS_LED_UNREGISTER(object) \ >- if(object##_led.class_dev \ >- && !IS_ERR(object##_led.class_dev)) \ > led_classdev_unregister(&object##_led) > > static void asus_led_exit(void) > { >+ destroy_workqueue(led_workqueue); > ASUS_LED_UNREGISTER(mled); > ASUS_LED_UNREGISTER(tled); > ASUS_LED_UNREGISTER(pled); >@@ -1143,29 +1142,44 @@ > > rv = ASUS_LED_REGISTER(mled, dev); > if (rv) >- return rv; >+ goto out; > > rv = ASUS_LED_REGISTER(tled, dev); > if (rv) >- return rv; >+ goto out1; > > rv = ASUS_LED_REGISTER(rled, dev); > if (rv) >- return rv; >+ goto out2; > > rv = ASUS_LED_REGISTER(pled, dev); > if (rv) >- return rv; >+ goto out3; > > rv = ASUS_LED_REGISTER(gled, dev); > if (rv) >- return rv; >+ goto out4; > > led_workqueue = create_singlethread_workqueue("led_workqueue"); > if (!led_workqueue) >- return -ENOMEM; >+ goto out5; > > return 0; >+ >+out5: >+ rv = -ENOMEM; >+ ASUS_LED_UNREGISTER(gled); >+out4: >+ ASUS_LED_UNREGISTER(pled); >+out3: >+ ASUS_LED_UNREGISTER(rled); >+out2: >+ ASUS_LED_UNREGISTER(tled); >+out1: >+ ASUS_LED_UNREGISTER(mled); >+out: >+ return rv; >+ > } > > static int __init asus_laptop_init(void)
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 195891
:
133473
|
138902
|
139036
|
140777
|
140789
|
140793
|
178123