Skip to contentSkip to conversation

Possible problem in acpi_remove_address_space_handler

PATCH [email protected] 1 participant 1 message Apr 9, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

Is there any reason why

acpi_ut_remove_reference (handler_obj);

is called twice in a row in acpi_remove_address_space_handler events/evxfregn.c line 400 or so?

If it's a typo, then I think I found the thing causing the AC_BAD_PARAMETER problem on my Thinkpad R32. Maybe someone already found this.

Here's my patch:

drivers/acpi/events/evxfregn.c +1 -1
diff -u -r1.1.1.1 evxfregn.c
@@ -391,7 +391,7 @@
 			/*
 			 * Now we can delete the handler object
 			 */
-			acpi_ut_remove_reference (handler_obj);
+
 			acpi_ut_remove_reference (handler_obj);
 
 			goto unlock_and_exit;

--
"Operation Shoot First" is a complete success!!!
Brian Perkins [email protected]

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com