]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI : Check parameter when calling acpi_processor_get/set_throttling
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 28 Jan 2008 05:53:30 +0000 (13:53 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 2 Feb 2008 07:29:58 +0000 (02:29 -0500)
commit87654273ef63213f90c4243913987436495824f0
tree153e50bad32997325657b78d759855e797dac20d
parent3abbd337c60591305cbfeb984ff2922c175be37f
ACPI : Check parameter when calling acpi_processor_get/set_throttling

It is necessary to check the parameter when calling the function of
acpi_processor_get/set_throttling function so as to avoid the NULL
pointer reference in pr or throttling.

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

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_throttling.c