commit | 2d1034b7d214e8835e74ceb2f3b2ee921606fc07 | [log] [tgz] |
---|---|---|
author | Chen Guanqiao <chenguanqiao@kuaishou.com> | Mon Jul 12 15:40:20 2021 +0800 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 21 10:27:35 2021 -0600 |
tree | c82af4506ebb2e5144438b0d5ef10411257caece | |
parent | d3741bcf40f38663077426679f5d2bce189cc8ea [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>