From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id EC43C45D0B;
	Fri, 15 Nov 2024 07:07:50 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6152E42EF2;
	Fri, 15 Nov 2024 07:07:50 +0100 (CET)
Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com
 [209.85.215.178])
 by mails.dpdk.org (Postfix) with ESMTP id A9D7C42E52
 for <dev@dpdk.org>; Fri, 15 Nov 2024 07:07:49 +0100 (CET)
Received: by mail-pg1-f178.google.com with SMTP id
 41be03b00d2f7-7f45ab88e7fso1030774a12.1
 for <dev@dpdk.org>; Thu, 14 Nov 2024 22:07:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731650868;
 x=1732255668; darn=dpdk.org; 
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=ZMlc5DawBuHN08kmVIK2OIk60ATMVAjpioH0pRxzmFU=;
 b=eQroKGfdZKIz+V6KQu5Nmxo/JaPPLc9Sv59+Oc72qlyGkGFM81Neejok0GEL/+J5Z9
 jjmlpjI0mBWMkeDJPUYv12XpbXP5wq29KUGEHRe+1S3dwZxMX7uLwO1LjQ/2tp3ik9Zr
 Ed6jJvQVgKKTHDH5WP74svLhGKwc60AQHGYir01SyGXg9SA2S+ZLgq96eVqobD2AsgIe
 aPEZ74xqZBPEoQjmTJW4kTol1hQDbuFJvKtzprt6bfvupV29DYjT+EopNgNW7sMQn9RC
 /bFULvFwKprFznB0F1n1MRF2EL5z4qrbmLz98loxPHUgYrTSbDShC7ugqMQR7n6+onmF
 YbOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1731650868; x=1732255668;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=ZMlc5DawBuHN08kmVIK2OIk60ATMVAjpioH0pRxzmFU=;
 b=ZOeG/xxgbB3hvi1n+COylcM344bAzR2Q212ucnWkzUgavFwhaVYEQ7glHl3GIMOQKL
 Ni1+C3BAJR44mnXuuI2DOeN4XqxHo4JIZ33r3SwdYJtVqVPiGRC9HaC+1MkT2swQaEql
 wREIvowHU4tJHwinhWlEqvRBvsSpT8/X2r2MDcJXFMfxEVTJLbYQmHDzXprEITCq3Vtn
 i8lesXNzgeN13x6ET43BAgdzIsG4rUW99I7c63ShwVxre5MSzSrlDG1vxDWI1GklQu3y
 smIG/wYxz2tSzSafIGCq6LW1iKs2SSRHI9G1XCf/iO6DPs6s+RUFEXs8phMoFrMNj8yY
 GKEQ==
X-Gm-Message-State: AOJu0Yx1jpQ7+SiZsd381D/GzoxULUPzv9Sh88vv0ZoQheR5au3g4YwC
 G9khn6wBIsD/enAQPGVEf3gOkIm8tiKo5E+/VlsPAIhXagX7YNXrE00GfNIYXLVOAnN9d87QV4z
 M
X-Google-Smtp-Source: AGHT+IHgEiF4/EenAF3CsWsaFD2rUnRuKpKCwQR54+oE9CtZGrL3Gh06Rvz+PsYvOWbxn1q059WgBA==
X-Received: by 2002:a05:6a20:6a1c:b0:1dc:154c:365 with SMTP id
 adf61e73a8af0-1dc90aec01emr2432631637.4.1731650868621; 
 Thu, 14 Nov 2024 22:07:48 -0800 (PST)
Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])
 by smtp.gmail.com with ESMTPSA id
 98e67ed59e1d1-2ea06f4856esm2123781a91.23.2024.11.14.22.07.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 14 Nov 2024 22:07:48 -0800 (PST)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH 00/16] small bug fixes from PVS studio bug list
Date: Thu, 14 Nov 2024 22:05:37 -0800
Message-ID: <20241115060738.313190-1-stephen@networkplumber.org>
X-Mailer: git-send-email 2.45.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

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

Stephen Hemminger (16):
  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

 drivers/common/cnxk/cnxk_security.c         | 16 ++++++++------
 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/cpfl/cpfl_ethdev.c              |  2 +-
 drivers/net/dpaa/dpaa_rxtx.c                |  7 +++---
 drivers/net/dpaa2/dpaa2_rxtx.c              |  6 +++---
 drivers/net/hinic/hinic_pmd_flow.c          | 14 ++++++------
 drivers/net/i40e/i40e_fdir.c                | 10 ++++-----
 drivers/net/ntnic/ntnic_ethdev.c            |  8 -------
 drivers/net/octeon_ep/otx_ep_ethdev.c       |  9 ++------
 drivers/net/qede/qede_debug.c               |  3 +++
 drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c  | 24 +++++++++++++--------
 examples/ptpclient/ptpclient.c              | 10 +++------
 lib/eal/common/eal_common_devargs.c         |  2 +-
 15 files changed, 64 insertions(+), 72 deletions(-)

-- 
2.45.2