All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: whatever happened to down_timeout()?
Date: Tue, 13 Feb 2007 17:44:48 -0600	[thread overview]
Message-ID: <45D24D70.7070202@nortel.com> (raw)
In-Reply-To: <45D23E87.2030805@nortel.com>

Chris Friesen wrote:

> static inline int down_timeout(struct semaphore * sem, unsigned int 
> timeout)
> {
>     int ret = down_trylock(sem);
>     if (!ret)
>         ret = __down_timeout(sem, timeout);
>     return ret;
> }

Sorry, I think that should be:

static inline int down_timeout(struct semaphore * sem, unsigned int timeout)
{
	int ret = down_trylock(sem);
	if (ret)
		ret = __down_timeout(sem, timeout);
	return ret;
}

Chris

      reply	other threads:[~2007-02-13 23:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 22:41 whatever happened to down_timeout()? Chris Friesen
2007-02-13 23:44 ` Chris Friesen [this message]

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=45D24D70.7070202@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=linux-kernel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.