From: Lucia Rosculete <luciarosculete@gmail.com>
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org, Lucia Rosculete <luciarosculete@gmail.com>
Subject: [PATCH] semaphore: fix comment
Date: Sat, 3 Mar 2012 16:18:47 +0200 [thread overview]
Message-ID: <1330784327-7172-1-git-send-email-luciarosculete@gmail.com> (raw)
Replace "mutex" with "semaphore" in down_trylock comment
Signed-off-by: Lucia Rosculete <luciarosculete@gmail.com>
---
kernel/semaphore.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 60636a4..4567fc0 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -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
--
1.7.6.3
next reply other threads:[~2012-03-03 14:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 14:18 Lucia Rosculete [this message]
2012-03-13 10:06 ` [PATCH] semaphore: fix comment Daniel Baluta
2012-04-06 0:16 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1330784327-7172-1-git-send-email-luciarosculete@gmail.com \
--to=luciarosculete@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox