[PATCH] eal: add const to init function parameter
Bruce Richardson
bruce.richardson at intel.com
Fri Nov 3 11:17:49 CET 2023
On Thu, Nov 02, 2023 at 11:55:41AM -0700, Stephen Hemminger wrote:
> On Thu, 2 Nov 2023 18:11:48 +0000
> Bruce Richardson <bruce.richardson at intel.com> wrote:
>
> > From: Bruce Richardson <bruce.richardson at intel.com>
> > To: dev at dpdk.org
> > Cc: stephen at networkplumber.org, Bruce Richardson <bruce.richardson at intel.com>
> > Subject: [PATCH] eal: add const to init function parameter
> > Date: Thu, 2 Nov 2023 18:11:48 +0000
> > X-Mailer: git-send-email 2.39.2
> >
> > 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 <bruce.richardson at intel.com>
>
> Looks good but probably needs to cascade down a few more levels
Yep. I only did a quick compile test, which passed, but I see the CI has
thrown up a bunch more issues. I'll do a v2 later.
/Bruce
More information about the dev
mailing list