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 164E345D6B; Thu, 21 Nov 2024 19:24:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1FCB40A81; Thu, 21 Nov 2024 19:24:56 +0100 (CET) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 884C640A81 for ; Thu, 21 Nov 2024 19:24:54 +0100 (CET) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-72410cc7be9so1212060b3a.0 for ; Thu, 21 Nov 2024 10:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1732213493; x=1732818293; 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=aQ14S1k/F+W/O1hx1BDEnXe+blw8gmfRZ4gpD7gVDuI=; b=TrShu3m/0aaQ2OfJ4xjrNO+Xf+/W7z8uOE1rd1YrfV6XrrDxHW5V6DVuWj58eFwAa7 x38t3l5UKTGLSNzeC+pLdFT4tJwfVu9MjxDCAgZfghgWoaPIy+Cz8ZXKx1nPBOb1ri2Q T/0loncXfbGihwSvHNTD/lXkUVHhIWKbB6HfWov7ObjxjyrdmOVpHhCLmK4+7cgGeN+Q 9PMbtreOOE+VHBlWFcZmthimABeuTYB0vUicjK9Txgs4kp2DPfNpBscIuKh34kOz3SJq CUJTyU/Zv2BVsMIU6wUJqfyJOvImHZpXfENY0jSCQEJBRujZTV1M4fzENPrWOx4O0FJ+ YlcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732213493; x=1732818293; 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=aQ14S1k/F+W/O1hx1BDEnXe+blw8gmfRZ4gpD7gVDuI=; b=FurSd0rMcPkoYsXjIt9jYYgdmFuLfSSFpXMIiSuDSV50u+qnuSs97YJ6KFxilQIrLW ouNuLf21R2Y8K488xqFDN8gKI7m2ewhIl7paw/5bZaWZdTEY+mgUox2mvjDfmAQ2Gln7 rqkLNzNHCJ735gRDmFxTlnV87EdtrwLkyreVtR0UiYAtdt1d60imPpgOC3UXTIRaXlQC a3Nxov+RFUSQ9LaF3hz/dJPJQ8kYiPhShTjzAOA8p3OO5SmLA2iT+WoDvRERUGc/akvI aKdOpmVoYUVyV5hLuEZY8JFLC9wxzj9PoN7fCbdBiqtFLLWRfG0d6OiNFDoJDFlMD3PM 9hOA== X-Gm-Message-State: AOJu0YwUI+iDHGXjhSg7Swd+Gf4PvEElAje8SMAZkCZH8sj7x+Vr8MrL nO6JQyqbEY1ULciGi3nGqQmzDqG5tQvH858O9DouT5AQLhhUdK76Jgu6ItIZ/olvs6+qI41K3rt fpd8= X-Gm-Gg: ASbGncvPdCNwAvveY8bXXk88RvoQiwLe5ovY8l03DOfnsipcCG4RRGh69DBfVPO9By6 G1h42dURgprmjQSDkT4jK8ZygFQJkrv4hmlq/P0G9fSvGYiyfeA2XcN530vWp0Itxr1zHGzCbQo zJvpPLv44Yti6S3WDlACAmxaK5GfEcJS7tyY8MtNgKZJ2dh/UPx/Pp/QncymxF09D7SxCPTg2q5 funofuwulz+wGwxSdXLSeuQHFe/pS01wM8/RWZJDT5sBHBq9gZLMTRc3RlsDRGSsApDpqbz/6Fj 50yTHmjQAQGB5tH2TS8mXNH4pTo= X-Google-Smtp-Source: AGHT+IG+Xqan4BCNH4Mp3TjDUvWj+5usiRH6zFDTeVFRBTU5+vIy3uYQxIC2bQg0meJsC6BtSxK3HQ== X-Received: by 2002:a05:6a00:2388:b0:71e:76ac:4fc4 with SMTP id d2e1a72fcca58-724bed8a8c8mr10036828b3a.21.1732213493540; Thu, 21 Nov 2024 10:24:53 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724de454aa1sm70201b3a.4.2024.11.21.10.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 10:24:53 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 0/9] Bug fixes for standalone tests Date: Thu, 21 Nov 2024 10:23:21 -0800 Message-ID: <20241121182443.68025-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. v4 - rebase and drop code that was already fixed (removed) Stephen Hemminger (9): 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-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 +++-- 8 files changed, 39 insertions(+), 47 deletions(-) -- 2.45.2