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(-) -- 2.47.2