Skip to content
Commit 62ab420f authored by Insu Yun's avatar Insu Yun Committed by Jani Nikula
Browse files

i915: correctly handling failed allocation



Since devm_kzalloc can be failed, it needs to be checked
if not, NULL dereference could be happened.

Signed-off-by: default avatarInsu Yun <wuninsu@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1451491169-35068-1-git-send-email-wuninsu@gmail.com
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent eba51190
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment