Re: [PATCH v3] dm: core: fix no null pointer detection in ofnode_get_addr_size_index()

2021-07-21 Thread Simon Glass
On Mon, 12 Jul 2021 at 01:40, chenguanqiao wrote: > > From: Chen Guanqiao > > 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 >

Re: [PATCH v3] dm: core: fix no null pointer detection in ofnode_get_addr_size_index()

2021-07-20 Thread Simon Glass
On Mon, 12 Jul 2021 at 01:40, chenguanqiao wrote: > > From: Chen Guanqiao > > 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 >

[PATCH v3] dm: core: fix no null pointer detection in ofnode_get_addr_size_index()

2021-07-12 Thread chenguanqiao
From: Chen Guanqiao 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