[PATCH 19.11] eal/freebsd: fix incorrect variable name

Christian Ehrhardt christian.ehrhardt at canonical.com
Fri Dec 17 18:52:58 CET 2021


On Fri, Dec 17, 2021 at 4:36 PM Bruce Richardson
<bruce.richardson at 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 at 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


More information about the stable mailing list