public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: linux-kernel@vger.kernel.org, alan@redhat.com, Steve.Ralston@lsil.com
Subject: 2.4.0-ac9: bug in drivers/message/fusion/mptctl.c
Date: Wed, 17 Jan 2001 17:50:16 +0100	[thread overview]
Message-ID: <3A65CD48.92274EB0@colorfullife.com> (raw)

AFAICS mptctl_lock() and mptctl_unlock() are just buggy implementations
of down() and up().

At least the 'current->state = TASK_UNINTERRUPTIBLE' must be moved into
the while(1) loop, or both function could be replaced with a semaphore.

--
	Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2001-01-17 16:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3A65CD48.92274EB0@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=Steve.Ralston@lsil.com \
    --cc=alan@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox