Skip to content
Commit 15342f93 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Liviu Dudau
Browse files

malidp: Fix NULL vs IS_ERR() checking



The get_sg_table() function does not return NULL.
It returns error pointers.

Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/dri-devel/20211213072115.18098-1-linmq006@gmail.com/
parent e08a99d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment