Skip to content

minor fixes from PVS studio bug list

Stephen Hemminger dpdk-dev 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest19 patches 2 repliesApplied
  2. v219 patches 1 replySuperseded
  3. v116 patches 7 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/19common/cnxk: remove duplicate conditiondrivers/common/cnxk/cnxk_security.c+10 -60 replies
2/19net/cpfl: avoid calling log (printf) with nulldrivers/net/intel/cpfl/cpfl_ethdev.c+1 -10 replies
3/19raw/cnxk_gpio: fix file descriptor leakdrivers/raw/cnxk_gpio/cnxk_gpio_selftest.c+15 -90 replies
4/19net/ntnic: remove dead codedrivers/net/ntnic/ntnic_ethdev.c+0 -80 replies
5/19net/i40e: remove duplicate codedrivers/net/intel/i40e/i40e_fdir.c+4 -60 replies
6/19eal: fix out of bounds access in devargslib/eal/common/eal_common_devargs.c+1 -10 replies
7/19net/qede: fix missing debug stringdrivers/net/qede/qede_debug.c+5 -00 replies
8/19examples/ptpclient: replace rte_memcpy with assignmentexamples/ptpclient/ptpclient.c+2 -60 replies
9/19examples/ptpclient: fix self memcmpexamples/ptpclient/ptpclient.c+1 -10 replies
10/19net/octeon_ep: remove duplicate codedrivers/net/octeon_ep/otx_ep_ethdev.c+2 -70 replies
11/19net/hinic: fix flow type bitmask overflowdrivers/net/hinic/hinic_pmd_flow.c+7 -70 replies
12/19crypto/dpaa2_sec: fix bitmask truncationdrivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c+4 -40 replies
13/19crypto/dpaa_sec: fix bitmask truncationdrivers/crypto/dpaa_sec/dpaa_sec.c+3 -40 replies
14/19event/dpaa: fix bitmask truncationdrivers/event/dpaa/dpaa_eventdev.c+5 -50 replies
15/19net/dpaa: fix bitmask truncationdrivers/net/dpaa/dpaa_rxtx.c+3 -40 replies
16/19net/dpaa2: fix bitmask truncationdrivers/net/dpaa2/dpaa2_rxtx.c+3 -30 replies
17/19net/qede: don't use same loop variable twicedrivers/net/qede/base/ecore_dcbx.c+4 -40 replies
18/19examples/l3fwd: fix operator precedence bugsexamples/l3fwd-power/main.c examples/l3fwd/main.c+5 -40 replies
19/19common/cnxk: fix null ptr checkdrivers/common/cnxk/roc_bphy_cgx.c+6 -60 replies

Reviews trailers per patch

7 of 19 patches have a Reviewed-by or Acked-by.

PatchAnoob JosephBruce RichardsonHemant Agrawal
1/19A-b
2/19
3/19
4/19
5/19A-b
6/19
7/19
8/19
9/19
10/19
11/19
12/19A-b
13/19A-b
14/19A-b
15/19A-b
16/19A-b
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/19] minor fixes from PVS studio bug list

More bug fixes from PVS studio bug reports.
And one other fix to ptpclient.

Stephen Hemminger (19):
common/cnxk: remove duplicate condition net/cpfl: avoid calling log (printf) with null raw/cnxk_gpio: fix file descriptor leak net/ntnic: remove dead code
net/i40e: remove duplicate code
eal: fix out of bounds access in devargs net/qede: fix missing debug string examples/ptpclient: replace rte_memcpy with assignment examples/ptpclient: fix self memcmp net/octeon_ep: remove duplicate code net/hinic: fix flow type bitmask overflow crypto/dpaa2_sec: fix bitmask truncation crypto/dpaa_sec: fix bitmask truncation event/dpaa: fix bitmask truncation
net/dpaa: fix bitmask truncation
net/dpaa2: fix bitmask truncation
net/qede: don't use same loop variable twice examples/l3fwd: fix operator precedence bugs common/cnxk: fix null ptr check

v3 - rebase; Intel drivers moved

Stephen Hemminger (19):
common/cnxk: remove duplicate condition net/cpfl: avoid calling log (printf) with null raw/cnxk_gpio: fix file descriptor leak net/ntnic: remove dead code
net/i40e: remove duplicate code
eal: fix out of bounds access in devargs net/qede: fix missing debug string examples/ptpclient: replace rte_memcpy with assignment examples/ptpclient: fix self memcmp net/octeon_ep: remove duplicate code net/hinic: fix flow type bitmask overflow crypto/dpaa2_sec: fix bitmask truncation crypto/dpaa_sec: fix bitmask truncation event/dpaa: fix bitmask truncation
net/dpaa: fix bitmask truncation
net/dpaa2: fix bitmask truncation
net/qede: don't use same loop variable twice examples/l3fwd: fix operator precedence bugs common/cnxk: fix null ptr check

 drivers/common/cnxk/cnxk_security.c         | 16 ++++++++------
 drivers/common/cnxk/roc_bphy_cgx.c          | 12 +++++------
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c |  8 +++----
 drivers/crypto/dpaa_sec/dpaa_sec.c          |  7 +++---
 drivers/event/dpaa/dpaa_eventdev.c          | 10 ++++-----
 drivers/net/dpaa/dpaa_rxtx.c                |  7 +++---
 drivers/net/dpaa2/dpaa2_rxtx.c              |  6 +++---
 drivers/net/hinic/hinic_pmd_flow.c          | 14 ++++++------
 drivers/net/intel/cpfl/cpfl_ethdev.c        |  2 +-
 drivers/net/intel/i40e/i40e_fdir.c          | 10 ++++-----
 drivers/net/ntnic/ntnic_ethdev.c            |  8 -------
 drivers/net/octeon_ep/otx_ep_ethdev.c       |  9 ++------
 drivers/net/qede/base/ecore_dcbx.c          |  8 +++----
 drivers/net/qede/qede_debug.c               |  5 +++++
 drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c  | 24 +++++++++++++--------
 examples/l3fwd-power/main.c                 |  4 ++--
 examples/l3fwd/main.c                       |  5 +++--
 examples/ptpclient/ptpclient.c              | 10 +++------
 lib/eal/common/eal_common_devargs.c         |  2 +-
 19 files changed, 81 insertions(+), 86 deletions(-)
Signature · 1 line
2.47.2