mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ide-scsi compile error in 2.5.50-mm1
@ 2002-12-06  1:16 Michael
  2002-12-06  3:31 ` Mike Anderson
  0 siblings, 1 reply; 2+ messages in thread
From: Michael @ 2002-12-06  1:16 UTC (permalink / raw)
  To: linux-kernel

make -f scripts/Makefile.build obj=drivers/scsi
  gcc -Wp,-MD,drivers/scsi/.ide-scsi.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE   -DKBUILD_BASENAME=ide_scsi -DKBUILD_MODNAME=ide_scsi   -c -o drivers/scsi/ide-scsi.o drivers/scsi/ide-scsi.c
drivers/scsi/ide-scsi.c: In function `should_transform':
drivers/scsi/ide-scsi.c:767: structure has no member named `tag'
make[2]: *** [drivers/scsi/ide-scsi.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ide-scsi compile error in 2.5.50-mm1
  2002-12-06  1:16 ide-scsi compile error in 2.5.50-mm1 Michael
@ 2002-12-06  3:31 ` Mike Anderson
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Anderson @ 2002-12-06  3:31 UTC (permalink / raw)
  To: Michael; +Cc: linux-kernel

Michael [soppscum@online.no] wrote:
> make -f scripts/Makefile.build obj=drivers/scsi
>   gcc -Wp,-MD,drivers/scsi/.ide-scsi.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE   -DKBUILD_BASENAME=ide_scsi -DKBUILD_MODNAME=ide_scsi   -c -o drivers/scsi/ide-scsi.o drivers/scsi/ide-scsi.c
> drivers/scsi/ide-scsi.c: In function `should_transform':
> drivers/scsi/ide-scsi.c:767: structure has no member named `tag'
> make[2]: *** [drivers/scsi/ide-scsi.o] Error 1
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2

I do not believe we have come to a final patch for this. It was
previously discussed on this thread

http://marc.theaimsgroup.com/?l=linux-kernel&m=103861077118120&w=2

This short term patch from Douglas Gilbert should fix the compile and
restore previous behavior.

-andmike
--
Michael Anderson
andmike@us.ibm.com

--- 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);


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-06  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-06  1:16 ide-scsi compile error in 2.5.50-mm1 Michael
2002-12-06  3:31 ` Mike Anderson

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®