LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH] semaphore: fix comment
@ 2012-03-03 14:18 Lucia Rosculete
  2012-03-13 10:06 ` Daniel Baluta
  0 siblings, 1 reply; 3+ messages in thread
From: Lucia Rosculete @ 2012-03-03 14:18 UTC (permalink / raw
  To: trivial; +Cc: linux-kernel, Lucia Rosculete

	 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] semaphore: fix comment
  2012-03-03 14:18 [PATCH] semaphore: fix comment Lucia Rosculete
@ 2012-03-13 10:06 ` Daniel Baluta
  2012-04-06  0:16   ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Baluta @ 2012-03-13 10:06 UTC (permalink / raw
  To: Lucia Rosculete, jkosina; +Cc: trivial, linux-kernel

On Sat, Mar 3, 2012 at 4:18 PM, Lucia Rosculete
<luciarosculete@gmail.com> wrote:
>         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

Hello Jiri,

Can you have a look?

thanks,
Daniel.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] semaphore: fix comment
  2012-03-13 10:06 ` Daniel Baluta
@ 2012-04-06  0:16   ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2012-04-06  0:16 UTC (permalink / raw
  To: Daniel Baluta; +Cc: Lucia Rosculete, linux-kernel

On Tue, 13 Mar 2012, Daniel Baluta wrote:

> On Sat, Mar 3, 2012 at 4:18 PM, Lucia Rosculete
> <luciarosculete@gmail.com> wrote:
> >         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
> 
> Hello Jiri,
> 
> Can you have a look?

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-06  0:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 14:18 [PATCH] semaphore: fix comment Lucia Rosculete
2012-03-13 10:06 ` Daniel Baluta
2012-04-06  0:16   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).