summaryrefslogtreecommitdiff
path: root/mm/mprotect.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2015-02-05 07:09:10 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-08 07:59:23 -0300
commit51b5b3d6c96ee244c51ec57265fc3c5ae5897610 (patch)
tree1fc2f612549e515aad131a28b4064ae8f43c2b91 /mm/mprotect.c
parent5ed1c328ea077d70e1ebcd5188dc77cdc754df3a (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/mprotect.c')
0 files changed, 0 insertions, 0 deletions