From: Mike Anderson <andmike@us.ibm.com>
To: Rusty Lynch <rusty@linux.co.intel.com>
Cc: trelane@digitasaru.net, linux-kernel@vger.kernel.org
Subject: Re: [ide-scsi] "structure has no member named `tag'"
Date: Tue, 3 Dec 2002 14:39:44 -0800 [thread overview]
Message-ID: <20021203223944.GA1350@beaverton.ibm.com> (raw)
In-Reply-To: <004a01c29b19$d9800a50$62d40a0a@amr.corp.intel.com>
Rusty Lynch [rusty@linux.co.intel.com] wrote:
> There was a discussion on this at
> http://marc.theaimsgroup.com/?t=103861087100001&r=1&w=2
>
> To get past this you can just change the line to compare ->name instead ->tag until the real fix lands.
You can use this patch until the real one comes out.
-andmike
--
Michael Anderson
andmike@us.ibm.com
--- a/drivers/scsi/ide-scsi.c 2002-11-23 13:01:23.000000000 +1100
+++ b/drivers/scsi/ide-scsi.c 2002-12-01 00:44:26.000000000 +1100
@@ -764,7 +764,7 @@
if (disk) {
struct Scsi_Device_Template **p = disk->private_data;
- if (strcmp((*p)->tag, "sg") == 0)
+ if (strcmp((*p)->scsi_driverfs_driver.name, "sg") == 0)
return test_bit(IDESCSI_SG_TRANSFORM, &scsi->transform);
}
return test_bit(IDESCSI_TRANSFORM, &scsi->transform);
next prev parent reply other threads:[~2002-12-03 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-03 22:09 Joseph Pingenot
2002-12-03 22:18 ` Rusty Lynch
2002-12-03 22:39 ` Mike Anderson [this message]
2002-12-03 23:30 Douglas Gilbert
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=20021203223944.GA1350@beaverton.ibm.com \
--to=andmike@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@linux.co.intel.com \
--cc=trelane@digitasaru.net \
/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
Powered by JetHome