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 060A345CC3; Thu, 14 Nov 2024 20:26:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89705402DB; Thu, 14 Nov 2024 20:26:16 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 7F8DE4021F for ; Thu, 14 Nov 2024 20:26:15 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-211c1c144f5so8824685ad.1 for ; Thu, 14 Nov 2024 11:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731612374; x=1732217174; 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=kItXdlUSydkVnKkOuPqiIx3Lx688VVlEqNjSTE8FzA8=; b=WFUsz2VwQ74p8PTGOD+3M5aHrH2Bry+Jofd9sLYoPKezew1aQ4io/GBSrPF7PltGUD ENprSgvP+5XgX0hlTCujRRtLsQQwC2rxP4p+Z80QikvlplJXhwPBcrvSKetCNSkn3ejn AtzXaXDCO/jM58Qbrf2bsCqyV++5dT1zdXJ4QgMRgMxFLX/4L4Bsbd//kkpTJe/Yh6Xo tqEocsiaxhDw7F1C+qOGXcPcCVLGKfUinM1MMR6fP4OdlsCYe9uYLAieGAvBXyjbdadK R27mmVduCWPOap/vDdNczfN84XnUP72mhfdGQNLcBygmJTZRbdwA4jCAXOqTGuiAtQCa /ThQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731612374; x=1732217174; 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=kItXdlUSydkVnKkOuPqiIx3Lx688VVlEqNjSTE8FzA8=; b=W6+h+uJ514vGlHVac53eFPyNFV9WVHQbuXKCuLI9vNzrmj9FnQ4JoCI8keo96kLtdK s8RgHtjfpspMCa/BUNXRlyfCMWjjdsAm3aFFe0Co8nVUx69C1X0wn7TzxxgQ2/IjDSi+ S2WPPx/ICC4RpNWRzA3HQDpuD6KjZxwPWyh6vgj1NR4YZ/CzM75xfpG6QLb24OX5k0k4 nWf523N6PDxugJwxYQYX4tMOIKm1HNEwykumJaSPnhJ0I3CxPDotQoH6s4YfHDbRbmc3 lyvn1663JV5NIeI9r+tvge/k5OP7TJhs7MwOeT7mcF5cHPS4SuHyJkebPqYl8WkVWcfA eT/Q== X-Gm-Message-State: AOJu0YxAvzVmlPKpKvhj8xeZ/08S8rk58gPhYPtep7XWIbEJG1Ul8TXr o2kmSXRjSJNYmsml186k6Cm/QDi90svoetNGrVDvKPbBuvLFzb8uCvXfAUeia60IgS1LuDLGSaR cHJ4= X-Google-Smtp-Source: AGHT+IEuU3gvh7uyFuJaxhpV35+ZZmjTJRobW8eJi6T1CS2mOwPlzVteaZS8eLcipQnq1gfTap8afA== X-Received: by 2002:a05:6a20:6a1d:b0:1d1:88bf:dff6 with SMTP id adf61e73a8af0-1dc8065f20cmr6612832637.15.1731612374114; Thu, 14 Nov 2024 11:26:14 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f8b37f3466sm1461632a12.35.2024.11.14.11.26.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 11:26:12 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 00/10] Bug fixes for unit tests Date: Thu, 14 Nov 2024 11:24:58 -0800 Message-ID: <20241114192603.41145-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241114001403.147609-1-stephen@networkplumber.org> References: <20241114001403.147609-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 Recent blog post from PVS studio referenced lots bugs found by their analyzer against DPDK. This set addresses the ones in the test suite. v2 - fix dma address parsing - add stable where needed Stephen Hemminger (10): app/test: do not duplicated loop variable app/test: fix typo in address compare app/test: fix paren typo app/test: avoid duplicate initialization app/test: fix TLS zero length record app/test: fix operator precedence bug test/eal: fix core check in c flag test app/test-pmd: remove redundant condition app/test-pmd: avoid potential outside of array reference app/test-dma-perf: fix parsing of DMA address app/test-dma-perf/main.c | 12 +++---- app/test-pmd/cmdline_flow.c | 2 +- app/test-pmd/config.c | 3 +- app/test/test_common.c | 31 ++++++++++--------- app/test/test_cryptodev.c | 5 +-- app/test/test_eal_flags.c | 4 +-- app/test/test_event_crypto_adapter.c | 24 ++++++-------- app/test/test_link_bonding.c | 9 ++---- app/test/test_security_inline_proto_vectors.h | 8 +++-- 9 files changed, 45 insertions(+), 53 deletions(-) -- 2.45.2