diff mbox

[API-NEXT,PATCHv2,4/4] api: spinlock: change rc for spinlock_trylock to match other trylock APIs

Message ID 1457208633-1453-4-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit 421610de495555e525be0a840799aa7b01f22d04
Headers show

Commit Message

Bill Fischofer March 5, 2016, 8:10 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 include/odp/api/spec/spinlock.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/include/odp/api/spec/spinlock.h b/include/odp/api/spec/spinlock.h
index 154d025..a73359d 100644
--- a/include/odp/api/spec/spinlock.h
+++ b/include/odp/api/spec/spinlock.h
@@ -54,8 +54,8 @@  void odp_spinlock_lock(odp_spinlock_t *splock);
  *
  * @param splock Pointer to a spin lock
  *
- * @retval 1 lock acquired
- * @retval 0 lock not acquired
+ * @retval  0 lock not acquired
+ * @retval !0 lock acquired
  */
 int odp_spinlock_trylock(odp_spinlock_t *splock);