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 4DAA845D16; Fri, 15 Nov 2024 21:08:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D15954300D; Fri, 15 Nov 2024 21:08:03 +0100 (CET) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 1BBA2402C4 for ; Fri, 15 Nov 2024 21:08:02 +0100 (CET) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-7ed9c16f687so788858a12.0 for ; Fri, 15 Nov 2024 12:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731701281; x=1732306081; 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=ms00gnsF9ZwM90evHV4L229IqaoGEc5vXnKFSuoUW7g=; b=SHgW2beazjBWkvkJ6Z8xRyWqutRK8baO/NusZZbOmCsGl3U+L1umFuQMb67t4kU7mA YnF+LzdK+nCdPgVjxM9G+vmDOcgKj1I73OqpM54RfwFaN/Nam28fcBPRs0ne+bTnrjkT r+6IELF/jcNNbQLLztyaznGKj8GeHfMbbkHGrWxasJU3t1+fiNKVuPoLprgoykufGiTF clC4ocj4OuK91xN7a21MPAucjJgec3KlTa32vkCglmxd1uP/4iLzeqP747JX+J6HSI8l gFJuyvG5SyuWCELsXQeorGXVjkuq4me+lO/m9Z5vZL/qXyLDJFG1b8by/yJwHhRy+Dze /zKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731701281; x=1732306081; 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=ms00gnsF9ZwM90evHV4L229IqaoGEc5vXnKFSuoUW7g=; b=ZF5OGc0W9dIJkwc1gE9XtOmAMqTT8wIRd/O/dOr5cZ+TwVNxj6zuxu46WDWd+pulNI bYN4OYYjpYSlr9ktWSwzbpZ9/vB2F6yyEEbjny2Y81ew0BZ567VhnRPNWBzaymPKcuaN QjnixR3xzsneqdTcz+QDo2OsBHxiKIQyeCSP8Wyy4holDWwmUVbUWxkpVW6pZb6IjzRH V8ErXW0q8wcH723lISWOK5EvllZoB57ZRaJQOobKFnqzitaD97Y+6Cg5wMg7ijc2Eeu2 b1pgFpS3JeeMNEvxdsZr4+EE43+v5r5NlMxyiTKhW9s1h0ND86v6P8CmJVHiXlaGSoL/ x5Eg== X-Gm-Message-State: AOJu0YxFD4QfrEwbmWNPigi8X9IBOF2n0s96R4NMPGkqygnMGhWqjpoS vwRkSaAEhXQPlIsx7oIILmVrCifq22pmE+p5M241hI7aZwJHjm6lhlJ35kHzuFS05N05TyquD5X F X-Google-Smtp-Source: AGHT+IEfgsMZ/w11VzXa5NZWOKui3uShi1G/Uxe9RAeYVrnux/eislTbvWvXKB738dRvVJ3SYi9yLw== X-Received: by 2002:a05:6a20:158e:b0:1db:e481:3274 with SMTP id adf61e73a8af0-1dc90bc8e52mr6139025637.31.1731701281159; Fri, 15 Nov 2024 12:08:01 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724771e11f0sm1759686b3a.131.2024.11.15.12.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2024 12:08:00 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 00/10] bug fixes for unit tests Date: Fri, 15 Nov 2024 12:06:44 -0800 Message-ID: <20241115200751.17141-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. v3 - minimize change to test-dma-perf Stephen Hemminger (10): app/test: do not duplicate 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 | 4 +-- 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, 41 insertions(+), 49 deletions(-) -- 2.45.2