]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mpt3sas: fix Kconfig dependency problem for mpt2sas back compatibility
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 2 Dec 2015 21:36:58 +0000 (13:36 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Jul 2016 07:34:35 +0000 (00:34 -0700)
commit144ec3010cfc1cfe91bc7f91e37f0834d5fabb2c
tree25d5a89eab4194e4edd9d90306b204717e214c92
parent7fafa4c14e942bb5f501ea052f0f0cfb14a3b46a
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: b840c3627b6f4f856b333a14a72f8ed86da2f86c
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Orabug: 22529571
(cherry picked from commit 3ddda3e4c82dea58933bde8d0f6ef34470c360cb)
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/Kconfig