--=_courier-4284-1044378526-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
After i upgraded from 2.5.59-mm7 to 2.5.59-mm8, i couldn't compile the mega=
raid module
anymore.
This patch fixes the problem.
I should apply to the latest BK as well.
Thanks,
Philippe
--Philippe Gramoull=E9 philippe.gramoulle@mmania.com Lycos Europe - NOC France
--=_courier-4284-1044378526-0001-2 Content-Type: text/plain; name="megaraid.c.diff"; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="megaraid.c.diff"
--- drivers/scsi/megaraid.c.orig 2003-02-04 18:01:13.000000000 +0100 +++ drivers/scsi/megaraid.c 2003-02-04 18:02:02.000000000 +0100 @@ -4515,7 +4515,7 @@ if(scsicmd == NULL) return -ENOMEM; memset(scsicmd, 0, sizeof(Scsi_Cmnd)); - scsicmd->host = shpnt; + scsicmd->device->host = shpnt; if( outlen || inlen ) { #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) @@ -4652,7 +4652,7 @@ if(scsicmd == NULL) return -ENOMEM; memset(scsicmd, 0, sizeof(Scsi_Cmnd)); - scsicmd->host = shpnt; + scsicmd->device->host = shpnt; if (outlen || inlen) { #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
--=_courier-4284-1044378526-0001-2--