On 9 Sep 2024, at 6:54, Mike Pattrick wrote: > Clang analyzer will complain about floating point operations conducted > with integer types as rounding is undefined. In pmd_info_show_rxq() a > percentage was calculated inside uint64 integers instead of a floating > pointer variable for a user visible message. This issue can be resolved > simply by casting to double while dividing. > > 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
- [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
- [ovs-dev] [PATCH v3 5/8] classifier: Store n_indices b... Mike Pattrick
- Re: [ovs-dev] [PATCH v3 5/8] classifier: Store n_i... Eelco Chaudron
- Re: [ovs-dev] [PATCH v3 5/8] classifier: Store n_i... Simon Horman
