thinkpad_acpi: fix possible NULL pointer dereference if kstrdup failed
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 18 Apr 2008 20:27:29 +0000 (13:27 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 14:10:03 +0000 (10:10 -0400)
commit90fe17f4df2f830601ffd422b11d1f7f9a9d0355
treef5e04bd8ea19125ed5217e41a6fb2dc3b992b5b2
parenta815ab8b5891f3d2515316655729272f68269e3b
thinkpad_acpi: fix possible NULL pointer dereference if kstrdup failed

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c