lkml.org 
[lkml]   [2002]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [ide-scsi] "structure has no member named `tag'"
"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


--- 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);
\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.175 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site