mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Michael Krufky <mkrufky@m1k.net>
Cc: linux-kernel@vger.kernel.org, linux-dvb-maintainer@linuxtv.org,
	Manu Abraham <manu@linuxtv.org>
Subject: Re: [PATCH 24/37] dvb: dst: protect the read/write commands with a mutex
Date: Thu, 3 Nov 2005 13:57:35 +1100	[thread overview]
Message-ID: <20051103135735.6d860a73.akpm@osdl.org> (raw)
In-Reply-To: <4367240C.8030204@m1k.net>

Michael Krufky <mkrufky@m1k.net> wrote:
>
> +	sema_init(&state->dst_mutex, 1);

We normally use init_MUTEX(), so we don't have to remember that 1 == unlocked.

  reply	other threads:[~2005-11-03  3:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01  8:15 Michael Krufky
2005-11-03  2:57 ` Andrew Morton [this message]
2005-11-03  9:26   ` Manu Abraham

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=20051103135735.6d860a73.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-dvb-maintainer@linuxtv.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manu@linuxtv.org \
    --cc=mkrufky@m1k.net \
    /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

all inboxes | Powered by JetHome®