public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: "Paulo Andre'" <l16083@alunos.uevora.pt>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Oops in _every_ 2.5 kernel - SCSI changes
Date: Wed, 20 Feb 2002 12:10:55 +0100	[thread overview]
Message-ID: <20020220111055.GC705@suse.de> (raw)
In-Reply-To: <20020220005811.C488@bleach>
In-Reply-To: <20020220005811.C488@bleach>

On Wed, Feb 20 2002, Paulo Andre' wrote:
> Hi Jens,
> 
> This is a very keen and motivated kernel hacker newbie here. That said, 
> bear with me :)

Hmm, does this work? What SCSI devices do you have attached?

--- drivers/scsi/scsi_merge.c~	Wed Feb 20 12:08:11 2002
+++ drivers/scsi/scsi_merge.c	Wed Feb 20 12:07:26 2002
@@ -136,7 +136,7 @@
  			 * hardware have no practical limit.
 			 */
 			bounce_limit = BLK_BOUNCE_ANY;
-		else
+		else if (SHpnt->pci_dev)
 			bounce_limit = SHpnt->pci_dev->dma_mask;
 	} else if (SHpnt->unchecked_isa_dma)
 		bounce_limit = BLK_BOUNCE_ISA;

-- 
Jens Axboe


  reply	other threads:[~2002-02-20 11:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20  0:58 Oops in _every_ 2.5 kernel - SCSI changes Paulo Andre'
2002-02-20 11:10 ` Jens Axboe [this message]
2002-02-20 19:10   ` Paulo Andre'

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=20020220111055.GC705@suse.de \
    --to=axboe@suse.de \
    --cc=l16083@alunos.uevora.pt \
    --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