]> git.baikalelectronics.ru Git - kernel.git/commit
malidp: Fix NULL vs IS_ERR() checking
authorMiaoqian Lin <linmq006@gmail.com>
Mon, 13 Dec 2021 07:21:15 +0000 (07:21 +0000)
committerLiviu Dudau <liviu.dudau@arm.com>
Thu, 28 Apr 2022 15:08:19 +0000 (16:08 +0100)
commit2b2072df6a90355e7e0e18a9cc3e8bd8620404df
tree488fd70fd1895609bc5a7160cb28f0a673eb8632
parent86bcb52b83a270f7a29495f0c55d63f53d6f1c63
malidp: Fix NULL vs IS_ERR() checking

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

Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/dri-devel/20211213072115.18098-1-linmq006@gmail.com/
drivers/gpu/drm/arm/malidp_planes.c