|
From: Matthew W. <ma...@wi...> - 2005-12-21 12:44:57
|
On Tue, Dec 20, 2005 at 07:18:28PM -0800, Randy.Dunlap wrote:
> +acpi_status acpi_path_name(acpi_handle handle, struct acpi_buffer *namebuf)
> +{
> + acpi_status status;
> +
> + status = acpi_get_name(handle, ACPI_FULL_PATHNAME, namebuf);
> +
> + return_ACPI_STATUS(status);
> +}
> +EXPORT_SYMBOL_GPL(acpi_path_name);
Nope. You either need to add an "ACPI_FUNCTION_TRACE" call at the top
of your function, or just do "return status;". Otherwise you'll screw
up the ACPI debug code.
|