drm/mm: avoid possible null pointer dereference
Do not dereference node before the check if node is NULL. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NEric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1463602639-4861-1-git-send-email-xypron.glpk@gmx.de
Showing
想要评论请 注册 或 登录