[<prev] [next>] [day] [month] [year] [list]
Message-ID: <664A4EBB07F29743873A87CF62C26D704E8F0C@NAMAIL4.ad.lsil.com>
Date: Mon, 8 Jan 2007 09:21:58 -0700
From: "Moore, Eric" <Eric.Moore@....com>
To: "Justin Rosander" <myrddinemrys@....rr.com>
Cc: "Andrew Morton" <akpm@...l.org>, <linux-kernel@...r.kernel.org>,
<linux-scsi@...r.kernel.org>
Subject: RE: PROBLEM: LSIFC909 mpt card fails to recognize devices
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists