ACPI Thinkpad: We must always call va_end() after va_start() but do not do so in...
authorJesper Juhl <jj@chaosbits.net>
Fri, 24 Dec 2010 18:56:28 +0000 (19:56 +0100)
committerMatthew Garrett <mjg@redhat.com>
Fri, 7 Jan 2011 22:26:25 +0000 (17:26 -0500)
commit213658516fd5e125eb7a97995f6cae8996f8015b
tree319178f8486e0e63cea3383afed3a24ab1271bfc
parent466449cfe797b8a5d82d25d0e0e08426d8dfba19
ACPI Thinkpad: We must always call va_end() after va_start() but do not do so in thinkpad_acpi.c::acpi_evalf()

Hi,

In drivers/platform/x86/thinkpad_acpi.c::acpi_evalf() we don't always call
va_end() after va_start(). This patch corrects that.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/thinkpad_acpi.c