diff options
author | Chen Guanqiao <chenguanqiao@kuaishou.com> | 2021-07-12 15:40:20 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-07-21 10:27:35 -0600 |
commit | 1b098b3e655451572054ce933a87231ee16f7133 (patch) | |
tree | c82af4506ebb2e5144438b0d5ef10411257caece /include/blk.h | |
parent | fd25ca3275946476d5c3fa32e3e7e3087fa5c572 (diff) |
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: Chen Guanqiao <chenguanqiao@kuaishou.com>
Diffstat (limited to 'include/blk.h')
0 files changed, 0 insertions, 0 deletions