[origin tree build failure] Re: [PATCH -next] scsi: RAID_ATTRSdepends on SCSI

From: Ingo Molnar
Date: Tue Mar 02 2010 - 06:26:22 EST

* Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:

> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> 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@xxxxxxx>


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/