> > 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
On Fri, 23 Oct 2020 23:54:22 +
Honnappa Nagarahalli wrote:
>
>
> >
> > > Move test_ring_inc_ptr to header file so that it can be used by
> > > functions in other files.
> > >
> > > Signed-off-by: Honnappa Nagarahalli
> > > Reviewed-by: Dharmik Thakkar
> > > ---
> > > app/test/test_rin
>
> > Move test_ring_inc_ptr to header file so that it can be used by
> > functions in other files.
> >
> > Signed-off-by: Honnappa Nagarahalli
> > Reviewed-by: Dharmik Thakkar
> > ---
> > app/test/test_ring.c | 11 --- app/test/test_ring.h | 11
> > +++
> > 2 files changed, 1
> Move test_ring_inc_ptr to header file so that it can be used by
> functions in other files.
>
> Signed-off-by: Honnappa Nagarahalli
> Reviewed-by: Dharmik Thakkar
> ---
> app/test/test_ring.c | 11 ---
> app/test/test_ring.h | 11 +++
> 2 files changed, 11 insertions(+), 11 de
Move test_ring_inc_ptr to header file so that it can be used by
functions in other files.
Signed-off-by: Honnappa Nagarahalli
Reviewed-by: Dharmik Thakkar
---
app/test/test_ring.c | 11 ---
app/test/test_ring.h | 11 +++
2 files changed, 11 insertions(+), 11 deletions(-)
diff -
5 matches
Mail list logo