From: Douglas Gilbert <dougg@torque.net>
To: linux-kernel@vger.kernel.org
Subject: Re: [ide-scsi] "structure has no member named `tag'"
Date: Wed, 04 Dec 2002 10:30:16 +1100 [thread overview]
Message-ID: <3DED3E88.3020609@torque.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
"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.
For lk 2.5.50-bk3 that attached patch should work.
Doug Gilbert
[-- Attachment #2: ide-scsi_2550mike.diff --]
[-- Type: text/plain, Size: 458 bytes --]
--- linux/drivers/scsi/ide-scsi.c 2002-11-23 13:01:23.000000000 +1100
+++ linux/drivers/scsi/ide-scsi.c2550mike 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 reply other threads:[~2002-12-03 23:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-03 23:30 Douglas Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-03 22:09 [ide-scsi] "structure has no member named `tag'" Joseph Pingenot
2002-12-03 22:18 ` Rusty Lynch
2002-12-03 22:39 ` Mike Anderson
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=3DED3E88.3020609@torque.net \
--to=dougg@torque.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).