[ovs-dev] [PATCH] hmap.h: Fix Coverity false positive

Ben Pfaff blp at ovn.org
Thu Mar 19 18:56:06 UTC 2020


On Thu, Mar 19, 2020 at 11:50:55AM -0700, Usman Ansari wrote:
> Coverity reports a false positive below:
> 
> Incorrect expression, Assign_where_compare_meant: use of "="
> 
> where "==" may have been intended.
> 
> Fixed it by rewriting '(NODE = NULL)' as '((NODE = NULL), false)'.
> 
> "make check" passes for this change
> 
> Coverity reports 80 errors resolved
> 
> 
> Suggested-by: Ben Pfaff <blp at ovn.org>
> 
> Signed-off-by: Usman Ansari <u1422 at gmail.com>

The patch is missing.

The tags all go in one paragraph.

Thanks,

Ben.


More information about the dev mailing list