Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964952AbVIHTb7 (ORCPT ); Thu, 8 Sep 2005 15:31:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964958AbVIHTb6 (ORCPT ); Thu, 8 Sep 2005 15:31:58 -0400 Received: from mail0.lsil.com ([147.145.40.20]:53144 "EHLO mail0.lsil.com") by vger.kernel.org with ESMTP id S964952AbVIHTb5 (ORCPT ); Thu, 8 Sep 2005 15:31:57 -0400 Message-ID: <0E3FA95632D6D047BA649F95DAB60E5703662B21@exa-atlanta> From: "Ju, Seokmann" To: linux-scsi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/1][BUG] undefined symbol in legacy megaraid driver on 2. 6.12-mm1 Date: Thu, 8 Sep 2005 15:31:51 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.27) Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1003 Lines: 34 Hi, I've created a patch to address "legacy megaraid driver compilation error on 2.6.12-mm1 kernel. Please take this patch and let me know for any further concern. Thank you, Seokmann Sign-off by: Seokmann JU --- diff -Naur old/drivers/scsi/megaraid.c new/drivers/scsi/megaraid.c --- old/drivers/scsi/megaraid.c 2005-09-08 16:24:12.017451400 -0400 +++ new/drivers/scsi/megaraid.c 2005-09-08 16:23:36.509849376 -0400 @@ -1975,9 +1975,11 @@ static int megaraid_reset(Scsi_Cmnd *cmd) { - adapter = (adapter_t *)cmd->device->host->hostdata; + adapter_t *adapter; int rc; + adapter = (adapter_t *)cmd->device->host->hostdata; + spin_lock_irq(&adapter->lock); rc = __megaraid_reset(cmd); spin_unlock_irq(&adapter->lock); --- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/