acpi: add checking for NULL early param
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 20 Aug 2008 23:41:45 +0000 (16:41 -0700)
committerAndi Kleen <ak@linux.intel.com>
Thu, 21 Aug 2008 06:45:39 +0000 (08:45 +0200)
The early_param handling function could recieve NULL pointer as argument
in case if user didn't enter parameter value.  So we have to be ready for
a such situation and do check for NULL pointer if needed.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>

No differences found