From: David Ford <david+cert@blue-labs.org>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: wpeter@us.ibm.com, linux-kernel@vger.kernel.org,
Jens Axboe <axboe@suse.de>
Subject: Re: Encountered a Null Pointer Problem on the SCSI Layer
Date: Mon, 28 Jan 2002 22:51:51 -0500 [thread overview]
Message-ID: <3C561C57.7020801@blue-labs.org> (raw)
In-Reply-To: <mailman.1012257244.13523.linux-kernel2news@redhat.com> <200201282317.g0SNHs326065@devserv.devel.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
Might I suggest adding the below instead of swapping it out?
-d
>--- linux-2.4.18-pre1/drivers/scsi/sd.c Fri Nov 9 14:05:06 2001
>+++ linux-2.4.18-pre1-p3/drivers/scsi/sd.c Mon Jan 28 14:46:11 2002
>@@ -302,7 +302,7 @@
>
> dpnt = &rscsi_disks[dev];
> if (devm >= (sd_template.dev_max << 4) ||
>- !dpnt ||
>+ !dpnt->device ||
> !dpnt->device->online ||
> block + SCpnt->request.nr_sectors > sd[devm].nr_sects) {
> SCSI_LOG_HLQUEUE(2, printk("Finishing %ld sectors\n", SCpnt->request.nr_sectors));
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3269 bytes --]
next prev parent reply other threads:[~2002-01-29 3:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1012257244.13523.linux-kernel2news@redhat.com>
2002-01-28 23:17 ` Encountered a Null Pointer Problem on the SCSI Layer Pete Zaitcev
2002-01-29 3:51 ` David Ford [this message]
2002-01-29 17:22 ` Horst von Brand
2002-01-29 15:03 Peter Wong
[not found] <8A43C34093B3D5119F7D0004AC56F4BCC3448C@difpst1a.dif.dk>
2002-01-29 0:05 ` Pete Zaitcev
-- strict thread matches above, loose matches on Subject: below --
2002-01-28 22:30 Peter Wong
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=3C561C57.7020801@blue-labs.org \
--to=david+cert@blue-labs.org \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=wpeter@us.ibm.com \
--cc=zaitcev@redhat.com \
/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.