Skip to content

Commit 3ddda3e

Browse files
committed
mpt3sas: fix Kconfig dependency problem for mpt2sas back compatibility
The non-PCI builds of the O day test project are failing: On Thu, 2015-12-03 at 05:02 +0800, kbuild test robot wrote: > warning: (SCSI_MPT2SAS) selects SCSI_MPT3SAS which has unmet direct > dependencies (SCSI_LOWLEVEL && PCI && SCSI) The problem is that select and depend don't interact because Kconfig doesn't have a SAT solver, so depend picks up dependencies and select does onward selects, but select doesn't pick up dependencies. To fix this, we need to add the correct dependencies to the MPT2SAS option like this. Reported-by: kbuild test robot <fengguang.wu@intel.com> Fixes: b840c36 Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
1 parent b840c36 commit 3ddda3e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/scsi/mpt3sas/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ config SCSI_MPT2SAS
7676
tristate "Legacy MPT2SAS config option"
7777
default n
7878
select SCSI_MPT3SAS
79+
depends on PCI && SCSI
7980
---help---
8081
Dummy config option for backwards compatiblity: configure the MPT3SAS
8182
driver instead.

0 commit comments

Comments
 (0)