Bug 4501 - malidp: Fix NULL vs IS_ERR() checking
Summary: malidp: Fix NULL vs IS_ERR() checking
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 5.10.y-9
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-14 09:41 UTC by wenwenroad
Modified: 2023-03-14 09:41 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wenwenroad 2023-03-14 09:41:12 UTC
Description of problem:

malidp: Fix NULL vs IS_ERR() checking

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

see upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=	a5bbea50d622b8f49ab8ee3b0eb283107febcf1a