[dpdk-dev] [PATCH v3 3/5] test/ring: move common function to header file

Honnappa Nagarahalli Honnappa.Nagarahalli at arm.com
Sat Oct 24 02:31:34 CEST 2020


<snip>

> > static inline void*
> > test_ring_inc_ptr(void *obj, int esize, unsigned int n) {
> >         int sz;
> >
> >         sz = esize;
> >         /* Legacy queue APIs? */
> >         if ((esize) == -1)
> 
> Extra (paren) doesn't help readability either
+1 


More information about the dev mailing list