On Mon, Sep 09, 2024 at 12:54:59AM -0400, 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]>

Acked-by: Simon Horman <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to