On Fri, Jun 28, 2019 at 06:23:19PM +0200, David Marchand wrote: > On Fri, Jun 28, 2019 at 5:57 PM Adrien Mazarguil <adrien.mazarg...@6wind.com> > wrote: > > > Its presence on the function prototype in the header file is enough. > > > > Fixes: 5f4ed3f05849 ("eal: introduce random generator with upper bound") > > Cc: Mattias Rönnblom <mattias.ronnb...@ericsson.com> > > > > Signed-off-by: Adrien Mazarguil <adrien.mazarg...@6wind.com> > > --- > > lib/librte_eal/common/rte_random.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/librte_eal/common/rte_random.c > > b/lib/librte_eal/common/rte_random.c > > index 3d9b9b7d8..f85119048 100644 > > --- a/lib/librte_eal/common/rte_random.c > > +++ b/lib/librte_eal/common/rte_random.c > > @@ -137,7 +137,7 @@ rte_rand(void) > > return __rte_rand_lfsr258(state); > > } > > > > -uint64_t __rte_experimental > > +uint64_t > > rte_rand_max(uint64_t upper_bound) > > { > > struct rte_rand_state *state; > > -- > > 2.11.0 > > > > I had mentionned to Thomas I would do an extra pass, thanks for already > catching this one. > Do you mind if I squash this in my series ?
No problem, this series was tailored for this exact purpose, thanks for v2! -- Adrien Mazarguil 6WIND