RE: [PATCH 2/3] eal: emit warning for unused trylock return value

2022-04-11 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Monday, 11 April 2022 17.16 > > Mark the trylock family of spinlock functions with > __rte_warn_unused_result. > > Acked-by: Bruce Richardson > > Signed-off-by: Mattias Rönnblom > --- > lib/eal/include/generic/rte_spinloc

[PATCH 2/3] eal: emit warning for unused trylock return value

2022-04-11 Thread Mattias Rönnblom
Mark the trylock family of spinlock functions with __rte_warn_unused_result. Acked-by: Bruce Richardson Signed-off-by: Mattias Rönnblom --- lib/eal/include/generic/rte_spinlock.h | 4 1 file changed, 4 insertions(+) diff --git a/lib/eal/include/generic/rte_spinlock.h b/lib/eal/include/g