From: Bruce Richardson <bruce.richardson@intel.com>
To: stable@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: [PATCH 19.11] eal/freebsd: fix incorrect variable name
Date: Fri, 17 Dec 2021 15:36:40 +0000 [thread overview]
Message-ID: <20211217153640.728005-1-bruce.richardson@intel.com> (raw)
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 <bruce.richardson@intel.com>
---
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
next reply other threads:[~2021-12-17 15:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-17 15:36 Bruce Richardson [this message]
2021-12-17 17:52 ` Christian Ehrhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211217153640.728005-1-bruce.richardson@intel.com \
--to=bruce.richardson@intel.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).