Skip to content
Commit 1b098b3e authored by Chen Guanqiao's avatar Chen Guanqiao Committed by Simon Glass
Browse files

dm: core: fix no null pointer detection in ofnode_get_addr_size_index()



Fixed a defect of a null pointer being discovered by Coverity Scan:
   CID 331544:  Null pointer dereferences  (REVERSE_INULL)
   Null-checking "size" suggests that it may be null, but it has already been
   dereferenced on all paths leading to the check.

Signed-off-by: default avatarChen Guanqiao <chenguanqiao@kuaishou.com>
parent fd25ca32
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