]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Fix uninitialized local variable "covered" in i386 acpi-cpufreq driver
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 31 Jul 2007 07:37:26 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:36 +0000 (15:39 -0700)
commit45c876bf12b431afa9c438b24bd6f55f3a815805
treee8a6b2d3210d425d399de08dcdff45e74080b7db
parent7f8e00f2b9797ce7235634431d65269d21ef80d2
Fix uninitialized local variable "covered" in i386 acpi-cpufreq driver

The local variable "covered" is used without initialization in i386
acpi-cpufreq driver.  The initial value of covered should be 0.  The bug
will cause memory leak when hit.  The following patch fixes this bug.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c