diff options
author | 2010-05-16 19:45:45 -0300 | |
---|---|---|
committer | 2010-05-16 19:45:45 -0300 | |
commit | 263f4a30e4f1dc5385650738c1dcf3728036ecc4 (patch) | |
tree | 0de27cb495f08d066970d4943613590b32e8fb50 /drivers/acpi/debug.c | |
parent | thinkpad-acpi: detect EC node using its HID (v2) (diff) | |
download | linux-dev-263f4a30e4f1dc5385650738c1dcf3728036ecc4.tar.xz linux-dev-263f4a30e4f1dc5385650738c1dcf3728036ecc4.zip |
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>
Diffstat (limited to 'drivers/acpi/debug.c')
0 files changed, 0 insertions, 0 deletions