patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 19.11] eal/freebsd: fix incorrect variable name
@ 2021-12-17 15:36 Bruce Richardson
  2021-12-17 17:52 ` Christian Ehrhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Richardson @ 2021-12-17 15:36 UTC (permalink / raw)
  To: stable; +Cc: Bruce Richardson

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 19.11] eal/freebsd: fix incorrect variable name
  2021-12-17 15:36 [PATCH 19.11] eal/freebsd: fix incorrect variable name Bruce Richardson
@ 2021-12-17 17:52 ` Christian Ehrhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Ehrhardt @ 2021-12-17 17:52 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: stable

On Fri, Dec 17, 2021 at 4:36 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> When the below commit was backported, the variable name was not corrected from
> "internal_conf" to "internal_config", leading to build errors.
>

Thanks, applied

> 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
>


-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-17 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 15:36 [PATCH 19.11] eal/freebsd: fix incorrect variable name Bruce Richardson
2021-12-17 17:52 ` Christian Ehrhardt

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).