]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI EC: Fix regression due to use of uninitialized variable
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Mon, 3 Nov 2008 19:26:40 +0000 (14:26 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 7 Nov 2008 19:45:00 +0000 (14:45 -0500)
commitd21cf3c16b1191f3154a51e0b20c82bf851cc553
tree8b70490cff2ac98f1106c61f342aef6c0db544a3
parent457d2ee225801441e96f2e35894ec404572ad862
ACPI EC: Fix regression due to use of uninitialized variable

breakage introduced by following patch
commit 27663c5855b10af9ec67bc7dfba001426ba21222
Author: Matthew Wilcox <willy@linux.intel.com>
Date:   Fri Oct 10 02:22:59 2008 -0400

acpi_evaluate_integer() does not clear passed variable if
there is an error at evaluation.
So if we ignore error, we must supply initialized variable.

http://bugzilla.kernel.org/show_bug.cgi?id=11917

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Tested-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c