Skip to contentSkip to conversation

megaraid2-2.10.3 in 2.4.27-pre (2.4.26+bk)

PATCH O.Sezer 1 participant 1 message Apr 17, 2004 SCSI

lore
Share & tools
lore

O.Sezer

author
#0 lore raw

gcc -D__KERNEL__ -I/home/ozzie/Kernel1/linux-2.4.26/include -Wall -Wstrict-protomegaraid2.c:5559: unknown field vary_io' specified in initializer megaraid2.c:5559: warning: initialization makes pointer from integer without a cmake[2]: *** [megaraid2.o] Error 1 make[2]: Leaving directory /home/ozzie/Kernel1/linux-2.4.26/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
ake[1]: Leaving directory `/home/ozzie/Kernel1/linux-2.4.26/drivers'
make: *** [_mod_drivers] Error 2

The addition of the vary_io thingy in megaraid2.h is to blame.

Regards;
Özkan Sezer

drivers/scsi/megaraid2.h renamed from drivers/scsi/megaraid2.h.ftp-2.10.3 +1 -2
@@ -142,8 +142,7 @@
 	.eh_device_reset_handler =	megaraid_reset,		\
 	.eh_bus_reset_handler =		megaraid_reset,		\
 	.eh_host_reset_handler =	megaraid_reset,		\
-	.highmem_io =			1,			\
+	.highmem_io =			1			\
-	.vary_io =			1			\
 }