Hi,

> -----Original Message-----
> From: Thomas Monjalon [mailto:[email protected]]
> Sent: Tuesday, July 31, 2018 6:06 PM
> To: Pattan, Reshma <[email protected]>; Somarowthu, Naga SureshX
> <[email protected]>
> Cc: [email protected]; Burakov, Anatoly <[email protected]>;
> Parthasarathy, JananeeX M <[email protected]>
> Subject: Re: [dpdk-dev] [PATCH v9 3/5] test: add unit tests for latencystats
> library
> 
> 31/07/2018 18:40, Reshma Pattan:
> > From: Naga Suresh Somarowthu <[email protected]>
> >
> > Unit Test Cases added for latencystats library.
> >
> > Signed-off-by: Naga Suresh Somarowthu
> <[email protected]>
> > Reviewed-by: Reshma Pattan <[email protected]>
> > ---
> 
> Compilation error with clang:
> 
> > +   struct rte_metric_name names[NUM_STATS] = { 0 };
> 
> test_latencystats.c:73:46: fatal error:
> suggest braces around initialization of subobject [-Wmissing-braces]
> 
> > +   struct rte_metric_name wrongnames[NUM_STATS - 2] = { 0 };
> 
> Usually, it is recommended to use memset for initializations of structs.
> 

Fixed in v10 .

Thanks,
Reshma

Reply via email to