commit | 5c56f32e80ac8ea9878a0a5eb9ca99c703e953ab | [log] [tgz] |
---|---|---|
author | Vasiliy Kulikov <segoon@openwall.com> | Wed Jan 19 15:57:22 2011 +0300 |
committer | Kevin Hilman <khilman@ti.com> | Wed Mar 09 16:15:50 2011 -0800 |
tree | 043d51774b936a9b5e46a7da4dc65c2617ed1fcd | |
parent | 8743410d4971c5510a7d09293f5f3f89d8081059 [diff] |
OMAP: PM: SmartReflex: fix potential NULL dereference kzalloc() may fail, if so return -ENOMEM. Also Walter Harms suggested to use kasprintf() instead of kzalloc+strcpy+strcat. Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Signed-off-by: Kevin Hilman <khilman@ti.com>