mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: steve cameron <steve.cameron@hp.com>
To: linux-kernel@vger.kernel.org
Cc: axboe@suse.de
Subject: [PATCH] 2.5.60 make cciss driver compile
Date: Wed, 12 Feb 2003 13:10:04 +0600	[thread overview]
Message-ID: <20030212071004.GA1032@zuul.cca.cpqcorp.net> (raw)

(patch 1 of 11)
Makes the cciss driver compile in 2.5.60  (from tony@cantech.net.au)
-- steve

--- linux-2.5.60/drivers/block/cciss_scsi.c~2_5_60_cciss_scsi_fix	2003-02-12 10:12:31.000000000 +0600
+++ linux-2.5.60-scameron/drivers/block/cciss_scsi.c	2003-02-12 10:12:31.000000000 +0600
@@ -1379,11 +1379,11 @@ cciss_scsi_queue_command (Scsi_Cmnd *cmd
 
 	// Get the ptr to our adapter structure (hba[i]) out of cmd->host.
 	// We violate cmd->host privacy here.  (Is there another way?)
-	c = (ctlr_info_t **) &cmd->host->hostdata[0];	
+	c = (ctlr_info_t **) &cmd->device->host->hostdata[0];	
 	ctlr = (*c)->ctlr;
 
-	rc = lookup_scsi3addr(ctlr, cmd->channel, cmd->target, cmd->lun, 
-			scsi3addr);
+	rc = lookup_scsi3addr(ctlr, cmd->device->channel, cmd->device->id, 
+			cmd->device->lun, scsi3addr);
 	if (rc != 0) {
 		/* the scsi nexus does not match any that we presented... */
 		/* pretend to mid layer that we got selection timeout */

_

             reply	other threads:[~2003-02-12 18:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12  7:10 steve cameron [this message]
2003-02-12  7:11 steve cameron
2003-02-12  7:13 steve cameron
2003-02-12  7:14 steve cameron
2003-02-12  7:16 steve cameron
2003-02-12  7:17 steve cameron
2003-02-12  7:19 steve cameron
2003-02-12  7:21 steve cameron
2003-02-12  7:22 steve cameron
2003-02-12  7:23 steve cameron
2003-02-12  7:24 steve cameron

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=20030212071004.GA1032@zuul.cca.cpqcorp.net \
    --to=steve.cameron@hp.com \
    --cc=axboe@suse.de \
    --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

all inboxes | Powered by JetHome®