Messages in this thread Patch in this message | | | Date | Tue, 4 Feb 2003 18:07:47 +0100 | From | Philippe Gramoullé <> | Subject | Megaraid compile problem for 2.5.59-mm8 ( latest BK as well) |
| |
Hi,
After i upgraded from 2.5.59-mm7 to 2.5.59-mm8, i couldn't compile the megaraid module anymore.
This patch fixes the problem.
I should apply to the latest BK as well.
Thanks,
Philippe
--
Philippe Gramoullé philippe.gramoulle@mmania.com Lycos Europe - NOC France
--- 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)
| |