semaphore: fix comment
PATCH 1/1 semaphore: fix comment
Replace "mutex" with "semaphore" in down_trylock comment
Signed-off-by Lucia Rosculete <[email protected]>
--- kernel/semaphore.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/semaphore.c +1 -1
@@ -118,7 +118,7 @@ EXPORT_SYMBOL(down_killable);* down_trylock - try to acquire the semaphore, without waiting * @sem: the semaphore to be acquired * -* Try to acquire the semaphore atomically. Returns 0 if the mutex has +* Try to acquire the semaphore atomically. Returns 0 if the semaphore has * been acquired successfully or 1 if it it cannot be acquired. * * NOTE: This return value is inverted from both spin_trylock and
Signature · 1 line
1.7.6.3
Quoted 21 lines · Lucia Rosculete
Replace "mutex" with "semaphore" in
down_trylockcommentSigned-off-by Lucia Rosculete <[email protected]>---
kernel/semaphore.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)kernel/semaphore.c +1
-2@@ -118,7 +118,7 @@ EXPORT_SYMBOL(down_killable); * down_trylock - try to acquire the semaphore, without waiting * @sem: the semaphore to be acquired * - * Try to acquire the semaphore atomically. Returns 0 if the mutex has + * Try to acquire the semaphore atomically. Returns 0 if the semaphore has * been acquired successfully or 1 if it it cannot be acquired. * * NOTE: This return value is inverted from both spin_trylock and --
Quoted 1 line
1.7.6.3
Hello Jiri,
Can you have a look?
thanks,
Daniel.
Jiri Kosina
AppliedQuoted 25 lines · Daniel Baluta
Quoted 12 lines · Lucia Rosculete
Replace "mutex" with "semaphore" in
down_trylockcommentSigned-off-by Lucia Rosculete <[email protected]>---
kernel/semaphore.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)kernel/semaphore.c +0
-0kernel/semaphore.c EXPORT_SYMBOL(down_killable); · line 124
Quoted 8 lines
kernel/semaphore.c +1
-1@@ -118,7 +118,7 @@ EXPORT_SYMBOL(down_killable); * down_trylock - try to acquire the semaphore, without waiting * @sem: the semaphore to be acquired * - * Try to acquire the semaphore atomically. Returns 0 if the mutex has + * Try to acquire the semaphore atomically. Returns 0 if the semaphore has * been acquired successfully or 1 if it it cannot be acquired. * * NOTE: This return value is inverted from both spin_trylock andHello Jiri,
Quoted 1 line
Can you have a look?
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs