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@dpdk.org
          Reporter: step...@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.

Reply via email to