eal: emit warning for unused trylock return value
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>
Mon, 11 Apr 2022 15:15:58 +0000 (17:15 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 14 Apr 2022 12:38:20 +0000 (14:38 +0200)
commit76076342ec8ef108a155938d46a88bb493fae60e
tree5a4ac511d0af96495508fc67d8e70c4081720b35
parenteb13e558f8fcc13f258a93e5f85fedc74b7b0cf0
eal: emit warning for unused trylock return value

Mark the trylock family of spinlock functions with
__rte_warn_unused_result.

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
lib/eal/include/generic/rte_spinlock.h