From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754631AbbIIQEW (ORCPT ); Wed, 9 Sep 2015 12:04:22 -0400 Received: from verein.lst.de ([213.95.11.211]:38674 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753149AbbIIQEU (ORCPT ); Wed, 9 Sep 2015 12:04:20 -0400 Date: Wed, 9 Sep 2015 18:04:18 +0200 From: Christoph Hellwig To: Mike Snitzer Cc: Jim Davis , Stephen Rothwell , linux-next , linux-kernel , agk@redhat.com, dm-devel@redhat.com, James Bottomley Subject: Re: randconfig build error with next-20150908, in drivers/md/dm-mpath.c Message-ID: <20150909160418.GB28608@lst.de> References: <20150908172356.GA1584@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150908172356.GA1584@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Does this fix the issue for you? My Kconfig-fu isn't the best, but the idea behind this is that dm-mpath will depend on SCSI if SCSI_DH is set. If SCSI_DH is not set it will use the stubs and not care about SCSI. diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index b597273..e9ea681 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -393,7 +393,7 @@ config DM_MULTIPATH # of SCSI_DH if the latter isn't defined but if # it is, DM_MULTIPATH must depend on it. We get a build # error if SCSI_DH=m and DM_MULTIPATH=y - depends on SCSI_DH || !SCSI_DH + depends on !SCSI_DH || SCSI ---help--- Allow volume managers to support multipath hardware.