All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Collins <bcollins@debian.org>
To: dan carpenter <d_carpenter@sbcglobal.net>
Cc: Brad Hards <bhards@bigpond.net.au>, linux-kernel@vger.kernel.org
Subject: Re: [bug] ieee1394/sbp2 - sleeping in invalid context
Date: Sun, 27 Jul 2003 11:00:42 -0400	[thread overview]
Message-ID: <20030727150042.GL490@phunnypharm.org> (raw)
In-Reply-To: <200307270346.50781.d_carpenter@sbcglobal.net>

On Sun, Jul 27, 2003 at 03:46:50AM -0700, dan carpenter wrote:
> I think sbp2scsi_queuecommand is called from outside interrupt context.  The 
> obvious but possibly wrong way to fix this would be to change the calls to 
> hpsb_get_tlabel() to check in_atomic() instead of in_interrupt().

Preempt will be the death of me. Wish there was a can_sleep() macro to
make things easier.

Thanks for the report, I'll fix this.


-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/

  reply	other threads:[~2003-07-27 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-26 12:24 [bug] ieee1394/sbp2 - sleeping in invalid context Brad Hards
2003-07-27 10:46 ` dan carpenter
2003-07-27 15:00   ` Ben Collins [this message]
2003-07-27 16:24   ` Ben Collins

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=20030727150042.GL490@phunnypharm.org \
    --to=bcollins@debian.org \
    --cc=bhards@bigpond.net.au \
    --cc=d_carpenter@sbcglobal.net \
    --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.