lkml.org 
[lkml]   [2003]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectMegaraid 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)
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.041 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site