From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx200.postini.com [74.125.245.200]) by kanga.kvack.org (Postfix) with SMTP id CA6036B0044 for ; Mon, 23 Apr 2012 22:27:07 -0400 (EDT) Received: by dadq36 with SMTP id q36so279622dad.8 for ; Mon, 23 Apr 2012 19:27:07 -0700 (PDT) Date: Mon, 23 Apr 2012 19:27:02 -0700 From: Greg Kroah-Hartman Subject: Re: [PATCH] drivers: staging: zcache: fix Kconfig crypto dependency Message-ID: <20120424022702.GA6573@kroah.com> References: <1335231230-29344-1-git-send-email-sjenning@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1335231230-29344-1-git-send-email-sjenning@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Seth Jennings Cc: Dan Magenheimer , Konrad Rzeszutek Wilk , Nitin Gupta , Robert Jennings , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Autif Khan On Mon, Apr 23, 2012 at 08:33:50PM -0500, Seth Jennings wrote: > ZCACHE is a boolean in the Kconfig. When selected, it > should require that CRYPTO be builtin (=y). > > Currently, ZCACHE=y and CRYPTO=m is a valid configuration > when it should not be. > > This patch changes the zcache Kconfig to enforce this > dependency. > > Signed-off-by: Seth Jennings > --- > drivers/staging/zcache/Kconfig | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig > index 3ed2c8f..7048e01 100644 > --- a/drivers/staging/zcache/Kconfig > +++ b/drivers/staging/zcache/Kconfig > @@ -2,7 +2,7 @@ config ZCACHE > bool "Dynamic compression of swap pages and clean pagecache pages" > # X86 dependency is because zsmalloc uses non-portable pte/tlb > # functions > - depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86 > + depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && X86 Ok, this fixes one of the build problems reported, what about the other one? greg k-h -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org