Re: Possible dcache BUG

From: Udo A. Steinberg
Date: Sun Sep 12 2004 - 02:36:27 EST


On Sun, 12 Sep 2004 00:16:26 -0700 Andrew Morton (AM) wrote:

AM> Random guess: acpi_evaluate_object() is returning an error but is
AM> allocating memory anyway.
AM>
AM> In acpi_battery_get_status():
AM>
AM> status = acpi_evaluate_object(battery->handle, "_BST", NULL, &buffer);
AM> if (ACPI_FAILURE(status)) {
AM> ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error evaluating _BST\n"));
AM> return_VALUE(-ENODEV);
AM> }
AM>
AM> Is that failure path being taken?

Is there a way for me to find that out without recompiling and rebooting?

-Udo.

Attachment: pgp00000.pgp
Description: PGP signature