Commit b80d3942 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Daniel Vetter
Browse files

drm/mm: avoid possible null pointer dereference



Do not dereference node before the check if node is NULL.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1463602639-4861-1-git-send-email-xypron.glpk@gmx.de
parent d28ab95b
Supports Markdown
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