From: Ingo Molnar on

* Randy Dunlap <rdunlap(a)xenotime.net> wrote:

> From: Randy Dunlap <randy.dunlap(a)oracle.com>
>
> raid_class uses scsi interfaces, so it should depend on SCSI.
> Otherwise build errors occur when RAID_ATTRS=y and SCSI=m:
>
> ERROR: "raid_class_release" [drivers/scsi/mpt2sas/mpt2sas.ko] undefined!
> ERROR: "raid_class_attach" [drivers/scsi/mpt2sas/mpt2sas.ko] undefined!

FYI, this build bug has been pushed upstream via the SCSI tree, without
Randy's fix.

I have applied Randy's drivers/scsi/Kconfig fix to tip:out-of-tree and that
solves the build bug here.

Tested-by: Ingo Molnar <mingo(a)elte.hu>

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Stephen Rothwell on
Hi Ingo,

On Tue, 2 Mar 2010 12:26:03 +0100 Ingo Molnar <mingo(a)elte.hu> wrote:
>
> * Randy Dunlap <rdunlap(a)xenotime.net> wrote:
>
> > From: Randy Dunlap <randy.dunlap(a)oracle.com>
> >
> > raid_class uses scsi interfaces, so it should depend on SCSI.
> > Otherwise build errors occur when RAID_ATTRS=y and SCSI=m:
> >
> > ERROR: "raid_class_release" [drivers/scsi/mpt2sas/mpt2sas.ko] undefined!
> > ERROR: "raid_class_attach" [drivers/scsi/mpt2sas/mpt2sas.ko] undefined!
>
> FYI, this build bug has been pushed upstream via the SCSI tree, without
> Randy's fix.
>
> I have applied Randy's drivers/scsi/Kconfig fix to tip:out-of-tree and that
> solves the build bug here.
>
> Tested-by: Ingo Molnar <mingo(a)elte.hu>

Thanks for the heads up Ingo, I have added that to my fixes tree as well
so it will be in linux-next today.

--
Cheers,
Stephen Rothwell sfr(a)canb.auug.org.au
http://www.canb.auug.org.au/~sfr/