diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2015-02-05 07:09:10 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-08 07:59:23 -0300 |
commit | 51b5b3d6c96ee244c51ec57265fc3c5ae5897610 (patch) | |
tree | 1fc2f612549e515aad131a28b4064ae8f43c2b91 /mm/zbud.c | |
parent | 5ed1c328ea077d70e1ebcd5188dc77cdc754df3a (diff) |
[media] s5k5baf: Add missing error check for devm_kzalloc
This patch add a missing a check on the return value of devm_kzalloc,
which would cause a NULL pointer dereference in a OOM situation.
Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions