[DPDK/other Bug 1583] lib/mldev: conditional expression always true

bugzilla at dpdk.org bugzilla at dpdk.org
Sat Nov 16 02:15:06 CET 2024


https://bugs.dpdk.org/show_bug.cgi?id=1583

            Bug ID: 1583
           Summary: lib/mldev: conditional expression always true
           Product: DPDK
           Version: 24.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev at dpdk.org
          Reporter: stephen at networkplumber.org
  Target Milestone: ---

PVS Studio giving warning here.
lib/mldev/mldev_utils_scalar.c:495:1: warning: V560 A part of conditional
expression is always true.

                } else if ((be_16 >= 1) && (be_16 < (int)(FP16_MASK_E >>
FP16_LSB_E))) {


lib/mldev/mldev_utils_scalar.c:518:1: warning: V560 A part of conditional
expression is always true: (be_16 < 1).

                } else if ((be_16 >= -(int)(FP16_MSB_M)) && (be_16 < 1)) {

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20241116/a7851d72/attachment.htm>


More information about the dev mailing list