commit | 263f4a30e4f1dc5385650738c1dcf3728036ecc4 | [log] [tgz] |
---|---|---|
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | Sun May 16 19:45:45 2010 -0300 |
committer | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | Sun May 16 19:45:45 2010 -0300 |
tree | 0de27cb495f08d066970d4943613590b32e8fb50 | |
parent | 437e470c4ca818c97426afa3a67fbd7e34cffe00 [diff] |
thinkpad-acpi: acpi_evalf fixes Use acpi_format_exception() in acpi_evalf() instead of logging numeric errors. Also, when ACPICA returns an error, we should not be touching the return object, as it is invalid. In debug mode, acpi_evalf() callers would printk the returned crap (but fortunately, not use it). Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>