From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 487F545CD8; Mon, 18 Nov 2024 19:22:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A79240664; Mon, 18 Nov 2024 19:22:05 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 08C674025E for ; Mon, 18 Nov 2024 19:22:04 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-72483f6e2fbso1873728b3a.2 for ; Mon, 18 Nov 2024 10:22:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731954123; x=1732558923; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P5+OSeMYvLxHMptTev3xhg6tGoDz214fJJUOodbijTE=; b=eIFVMd7WoFLFJhX2nBzFZU8n2CeelC/iGokb/WGyjLOMqJZwXw+rSgxg/DOSNWoL3E n4X9XP/eCEMZH7h0KNVg+DWq7n3k3oIdAgIZeb6oYkb/4xvbVkmhkJ+VO7z9NWMVwkfa niC6CdN8TXpIe2JhShwPFPcBhiyyKRaRW1DZhC3hmPCWWFSG1moQTH5n/3dMKwzxSDUa RGfhTw0FuR1ftz5lpj3ZVdwSEXnEJObkLmdt1RgvlxoeWzfM4Q7bHmR8gpUlXj6VMkc9 WEIGf+VY9ueyvGh+ovGt9MPrpWPBYvZs+z9WpkQxbe3x5lUCpy3c9KeU1/ZLroSQMndK CVJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731954123; x=1732558923; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P5+OSeMYvLxHMptTev3xhg6tGoDz214fJJUOodbijTE=; b=j7vXxDCHu2Xo78MTncLbSNJ0jYObr/lr1QTx4WYgoeTEP5fNzACVgmZSgxR5wNAbqA MVRnrYTl5F0vzG2LhTFPMkotgzD5YuTaRMlksEpWkDwpz4eEjwnmCMA+g/nZZhGjHcDN iw1/8V+LdKQw60rntOntUohKpXncvS9923KXjKioeHyck92gSV+l3n20egmxyI3FuP/w AL+DcO5pBBQQXoehNgO5D7MfLsPgANPVSAu+9NcHGpApuNPlqELQ55/Mapml5jsWmbx2 Q63UL9KJ2mpFKxVJ3cd3URcT2k/mjvl0Ww51xNqFibkNmFn4Rc9BxpsJTsJbJg7STG1M TchQ== X-Gm-Message-State: AOJu0YzTzMvFtXw0yAq4nA9IeLOLJ3AgavJ5H8IS0pgmgkEdU1UKP5lN zS5nqX+y4qKgbcrn70lC9rNHOaVKxUR+z/UdhdIy4QMpmGCXnBPI4ZNN1boJ8ZUPkDKPmH2MCjf W X-Google-Smtp-Source: AGHT+IGNYW57/L/mw8WV7kuPhCJqFR8YvVRQgEli3l23UwILWAX1qhjft3Vw7LpTwFqmRHzoPI9Tjg== X-Received: by 2002:a17:90b:3c0c:b0:2ea:4150:3f7f with SMTP id 98e67ed59e1d1-2ea415042f1mr11321066a91.14.1731954123068; Mon, 18 Nov 2024 10:22:03 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ea61869bb2sm2916724a91.12.2024.11.18.10.22.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2024 10:22:02 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 00/19] minor fixes from PVS studio bug list Date: Mon, 18 Nov 2024 10:20:41 -0800 Message-ID: <20241118182153.87042-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241115060738.313190-1-stephen@networkplumber.org> References: <20241115060738.313190-1-stephen@networkplumber.org> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 v2 - add a few more fixes, and rebase 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/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/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.45.2