Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161341AbXAHQXr (ORCPT ); Mon, 8 Jan 2007 11:23:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161347AbXAHQXr (ORCPT ); Mon, 8 Jan 2007 11:23:47 -0500 Received: from mail0.lsil.com ([147.145.40.20]:47681 "EHLO mail0.lsil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161341AbXAHQXp convert rfc822-to-8bit (ORCPT ); Mon, 8 Jan 2007 11:23:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: PROBLEM: LSIFC909 mpt card fails to recognize devices Date: Mon, 8 Jan 2007 09:21:58 -0700 Message-ID: <664A4EBB07F29743873A87CF62C26D704E8F0C@NAMAIL4.ad.lsil.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PROBLEM: LSIFC909 mpt card fails to recognize devices Thread-Index: AccyhqjGnAxDr8GVSoC3/rFlTiKhawAua3BQ From: "Moore, Eric" To: "Justin Rosander" Cc: "Andrew Morton" , , X-OriginalArrivalTime: 08 Jan 2007 16:22:21.0909 (UTC) FILETIME=[2CB1D050:01C73341] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1614 Lines: 48 On Sunday, January 07, 2007 11:07 AM, Justin Rosander wrote: > Hi Eric, > I tried recompiling the kernel per your instructions, but I got a > failure here: > CC [M] drivers/message/fusion/mptbase.o > drivers/message/fusion/mptbase.c: In function 'mpt_resume': > drivers/message/fusion/mptbase.c:1526: warning: > ignoring return value of 'pci_enable_device', declared with > attribute warn_unused_result > CC [M] drivers/message/fusion/mptscsih.o > drivers/message/fusion/mptscsih.c: In function > 'mptscsih_initTarget': > drivers/message/fusion/mptscsih.c:2691: error: 'lun' > undeclared (first use in this function) > drivers/message/fusion/mptscsih.c:2691: error: (Each > undeclared identifier is reported only once > drivers/message/fusion/mptscsih.c:2691: error: for > each function it appears in.) > make[4]: *** [drivers/message/fusion/mptscsih.o] Error 1 > make[3]: *** [drivers/message/fusion] Error 2 > make[2]: *** [drivers/message] Error 2 > make[1]: *** [drivers] Error 2 > > Did I do something wrong? > Regards, > Justin > All you need to do is change lun to sdev->lun. I fix'ed that compile error in a patch I posted last week on the lsml: http://marc.theaimsgroup.com/?l=linux-scsi&m=116796872432421&w=2 Can you try again? Eric Moore - 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/