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 0F647A04A3 for ; Fri, 17 Dec 2021 16:36:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 017D840040; Fri, 17 Dec 2021 16:36:53 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 1329340040 for ; Fri, 17 Dec 2021 16:36:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639755412; x=1671291412; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=I6CcRCs+wGxmXURvNFnhC5AruRzr39foDLiU+MOrwrM=; b=KDIYwHtqcJ3xtce4fF65AUTqWoBNoUt1Ef/r0cEnVZ1LevVgu5PtPkXf BurZ5+/9tD0xJlsoltRXCMsRGklwmtfpPazSScTY6oYq3AUJt0Z/z1nt0 NEvn98WhffTgyTMVNeq5aKNBVVgW0/x2HMLxPubv9rpQ+mVGEQH2Vy6o3 o9eF8JkLGxPiXW7d1mLjTllpYkuAxXBqkl/rO2Jm8jnTuukaK6JlcP7SM //EUJF07nGzKxyedq92Ie8JE/HP2jyj8EEKocrV+WLhdoFIQOy9cX3ZjI eC426SdtA4hj118jvxTTNej/S5PA2Dxqz7AJG7eJ/jCRyFNPDjWgsumP4 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10200"; a="237313293" X-IronPort-AV: E=Sophos;i="5.88,213,1635231600"; d="scan'208";a="237313293" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2021 07:36:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,213,1635231600"; d="scan'208";a="683421918" Received: from silpixa00399126.ir.intel.com ([10.237.223.86]) by orsmga005.jf.intel.com with ESMTP; 17 Dec 2021 07:36:50 -0800 From: Bruce Richardson To: stable@dpdk.org Cc: Bruce Richardson Subject: [PATCH 19.11] eal/freebsd: fix incorrect variable name Date: Fri, 17 Dec 2021 15:36:40 +0000 Message-Id: <20211217153640.728005-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org When the below commit was backported, the variable name was not corrected from "internal_conf" to "internal_config", leading to build errors. Fixes: 1f3a6bf92333 ("eal/freebsd: ignore in-memory option") Signed-off-by: Bruce Richardson --- lib/librte_eal/freebsd/eal/eal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/freebsd/eal/eal.c b/lib/librte_eal/freebsd/eal/eal.c index e148d431c1..554323a39b 100644 --- a/lib/librte_eal/freebsd/eal/eal.c +++ b/lib/librte_eal/freebsd/eal/eal.c @@ -743,9 +743,9 @@ rte_eal_init(int argc, char **argv) /* FreeBSD always uses legacy memory model */ internal_config.legacy_mem = true; - if (internal_conf.in_memory) { + if (internal_config.in_memory) { RTE_LOG(WARNING, EAL, "Warning: ignoring unsupported flag, '%s'\n", OPT_IN_MEMORY); - internal_conf.in_memory = false; + internal_config.in_memory = false; } if (eal_plugins_init() < 0) { -- 2.34.1