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

Usman S. Ansari ua1422 at gmail.com
Thu Mar 19 18:55:16 UTC 2020


Attachment is blocked, let me copy-paste. Sorry about so many emails.

On Thu, Mar 19, 2020 at 11:51 AM Usman Ansari <ua1422 at gmail.com> 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>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list