Re: [PATCH] eal: add const to init function parameter

2023-11-03 Thread Bruce Richardson
gt; > Cc: step...@networkplumber.org, Bruce Richardson > > > Subject: [PATCH] eal: add const to init > > > function parameter Date: Thu, 2 Nov 2023 18:11:48 + X-Mailer: > > > git-send-email 2.39.2 > > > > > > Change the parameter type of argv param

Re: [PATCH] eal: add const to init function parameter

2023-11-03 Thread Bruce Richardson
On Thu, Nov 02, 2023 at 11:55:41AM -0700, Stephen Hemminger wrote: > On Thu, 2 Nov 2023 18:11:48 + > Bruce Richardson wrote: > > > From: Bruce Richardson > > To: dev@dpdk.org > > Cc: step...@networkplumber.org, Bruce Richardson > > > > Subject:

Re: [PATCH] eal: add const to init function parameter

2023-11-02 Thread Konstantin Ananyev
02.11.2023 18:11, Bruce Richardson пишет: Change the parameter type of argv parameter to rte_eal_init from "char **" to "char * const *", since we don't modify the argv pointers passed in. Signed-off-by: Bruce Richardson --- lib/eal/common/eal_common_options.c | 2 +- lib/eal/common/eal_opti

Re: [PATCH] eal: add const to init function parameter

2023-11-02 Thread Stephen Hemminger
On Thu, 2 Nov 2023 18:11:48 + Bruce Richardson wrote: > From: Bruce Richardson > To: dev@dpdk.org > Cc: step...@networkplumber.org, Bruce Richardson > Subject: [PATCH] eal: add const to init function parameter > Date: Thu, 2 Nov 2023 18:11:48 + > X-Mailer: git

[PATCH] eal: add const to init function parameter

2023-11-02 Thread Bruce Richardson
Change the parameter type of argv parameter to rte_eal_init from "char **" to "char * const *", since we don't modify the argv pointers passed in. Signed-off-by: Bruce Richardson --- lib/eal/common/eal_common_options.c | 2 +- lib/eal/common/eal_options.h| 2 +- lib/eal/freebsd/eal.c