On 9 Sep 2024, at 6:54, Mike Pattrick wrote: > The Clang analyzer has trouble detecting that functions can never return > null in certain conditions, this results in several false "Dereference of > null pointer" detections. > > This patch annotates functions that call ovsdb_error_valist() > unconditionally as non-null, as this function will either return a valid > pointer or call abort(). > > Signed-off-by: Mike Pattrick <[email protected]> Thanks for sending out the v3, the changes look good to me. Cheers, Eelco Acked-by: Eelco Chaudron <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
- [ovs-dev] [PATCH v3 0/8] Address clang analyze warnings. Mike Pattrick
- [ovs-dev] [PATCH v3 1/8] ovsdb-error: Annotate non-nul... Mike Pattrick
- Re: [ovs-dev] [PATCH v3 1/8] ovsdb-error: Annotate... Eelco Chaudron
- Re: [ovs-dev] [PATCH v3 1/8] ovsdb-error: Annotate... Simon Horman
- [ovs-dev] [PATCH v3 2/8] dpif-netdev: Remove undefined... Mike Pattrick
- Re: [ovs-dev] [PATCH v3 2/8] dpif-netdev: Remove u... Eelco Chaudron
- Re: [ovs-dev] [PATCH v3 2/8] dpif-netdev: Remove u... Simon Horman
- [ovs-dev] [PATCH v3 3/8] jsonrpc: Don't access ovs_lis... Mike Pattrick
- Re: [ovs-dev] [PATCH v3 3/8] jsonrpc: Don't access... Eelco Chaudron
- Re: [ovs-dev] [PATCH v3 3/8] jsonrpc: Don't access... Simon Horman
- [ovs-dev] [PATCH v3 4/8] netlink-socket: Initialize so... Mike Pattrick
- Re: [ovs-dev] [PATCH v3 4/8] netlink-socket: Initi... Eelco Chaudron
- Re: [ovs-dev] [PATCH v3 4/8] netlink-socket: Initi... Simon Horman
