lkml.org 
[lkml]   [2015]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: randconfig build error with next-20150908, in drivers/md/dm-mpath.c
Date
On Wed, 2015-09-09 at 18:04 +0200, Christoph Hellwig wrote:
> 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.

I assume I'm OK to add

Signed-off-by: Christoph Hellwig <hch@lst.de>

(I'll assume so if you don't reply)

James

> 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.
>



\
 
 \ /
  Last update: 2015-09-11 21:21    [W:1.707 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site