lkml.org 
[lkml]   [2004]   [Apr]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 17 Apr 2004 11:54:34 +0300
From"O.Sezer" <>
Subjectmegaraid2-2.10.3 in 2.4.27-pre (2.4.26+bk)
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.ftp-2.10.3
+++ ./drivers/scsi/megaraid2.h
@@ -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			\
 }
 
 
\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008