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 10724488E7; Wed, 8 Oct 2025 22:43:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32B4B40608; Wed, 8 Oct 2025 22:42:58 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id 44544402E5; Wed, 8 Oct 2025 22:42:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1759956177; x=1791492177; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=erZ0eyXOnPv7evwiThB/sN+SIijR/RP5Veyfshy4UfE=; b=RWLOhZABZDDAnGGeHOU5E4yzdjor/wyyDWqCmlx/MZIBJrjGgCSM/RLW gF7OUBliHqi7iRPp2XFoV9RZi7emho6zNUgsS5tVqTprrwLyeMyP+SZh0 x9pmaru2UPUdauTMuR2czrLKCdZd2wzQWriJdMrIuoqUxB2Ac2xCkw2Ft kKedDcbfJeC+WKwgVQ/ss7TOZQGLdd2BF4iMPIywg+vJUXzHw5HVQAA4f uXKPTnb1ioJ9JR/G/3Ry8g2vNYNS9cmGIp896BXb+8HDnd665ASPRL1Mf dHIU91jqrV7LlPk4kxnMeninrgsPZ3plTm0NZqgGVUVtZzN2Zcar0ciik Q==; X-CSE-ConnectionGUID: fPMM5mE1RymqMjb5Myw/DA== X-CSE-MsgGUID: +QMtMyR2S3mg4SLzhEM9PQ== X-IronPort-AV: E=McAfee;i="6800,10657,11531"; a="62079221" X-IronPort-AV: E=Sophos;i="6.17,312,1747724400"; d="scan'208";a="62079221" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2025 13:42:56 -0700 X-CSE-ConnectionGUID: /5isuYKRRaSlioLsLjCoQA== X-CSE-MsgGUID: yBcLbyfORiyVC3ooxrjeCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,214,1754982000"; d="scan'208";a="179790614" Received: from silpixa00401385.ir.intel.com ([10.20.224.226]) by orviesa010.jf.intel.com with ESMTP; 08 Oct 2025 13:42:55 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson , stable@dpdk.org Subject: [PATCH v10 02/21] test/func_reentrancy: fix args to EAL init call Date: Wed, 8 Oct 2025 21:42:25 +0100 Message-ID: <20251008204244.2288583-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20251008204244.2288583-1-bruce.richardson@intel.com> References: <20250520164025.2055721-1-bruce.richardson@intel.com> <20251008204244.2288583-1-bruce.richardson@intel.com> 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 The unit test for EAL init was passing in a NULL argv[0] value which is invalid. Update to have a valid string for argv[0]. Fixes: 104a92bd026f ("app: add reentrancy tests") Fixes: 978ead0144c1 ("test/func_reentrancy: fix EAL init call") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- app/test/test_func_reentrancy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c index f4c6cbc548..51e3069611 100644 --- a/app/test/test_func_reentrancy.c +++ b/app/test/test_func_reentrancy.c @@ -66,10 +66,11 @@ static RTE_ATOMIC(uint32_t) synchro; * rte_eal_init only init once */ static int -test_eal_init_once(void *arg) +test_eal_init_once(__rte_unused void *arg) { + char appname[] = __FILE__; unsigned lcore_self = rte_lcore_id(); - char *argv[] = { arg, NULL }; + char *argv[] = { appname, NULL }; WAIT_SYNCHRO_FOR_WORKERS(); -- 2.48.1