On Tue, Aug 20, 2024 at 09:14:38AM -0400, Mike Pattrick wrote:
> Clang analyzer will complain about floating point operations conducted
> with integer types as rounding is undefined.

TIL :)

> In pmd_info_show_rxq() a
> percentage was calculated inside uint64 integers instead of a floating
> pointer variable for a user visible message. There isn't a good reason
> not to use dloating point types here.

nit: floating

> Signed-off-by: Mike Pattrick <[email protected]>

Spelling nit aside, this looks good to me.

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

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

Reply via email to