From: bobl Date: Wed, 22 Jun 2005 00:14:29 +0000 (-0700) Subject: [PATCH] megaraid build fix X-Git-Tag: v2.6.13-rc1~68^2~582^2~166 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f20b6a4792c1b5033583c23b5594887dd3867b9;p=linux-2.6 [PATCH] megaraid build fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 80b0c40c52..ec81532eb8 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c @@ -1975,7 +1975,7 @@ __megaraid_reset(Scsi_Cmnd *cmd) static int megaraid_reset(Scsi_Cmnd *cmd) { - adapter = (adapter_t *)cmd->device->host->hostdata; + adapter_t *adapter = (adapter_t *)cmd->device->host->hostdata; int rc; spin_lock_irq(&adapter->lock);