]> git.baikalelectronics.ru Git - kernel.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)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 3 Dec 2015 17:31:23 +0000 (09:31 -0800)
commit93d73e79885431bf858f795ca1654e9b766385ae
treea399528cfefa28922ba5ffd4236b918c800b9cec
parentbb862c1e84b82db55ff533a60d04e3a277d7ca47
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: bb862c1e84b82db55ff533a60d04e3a277d7ca47
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mpt3sas/Kconfig