Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752711Ab3GZGDI (ORCPT ); Fri, 26 Jul 2013 02:03:08 -0400 Received: from mail-we0-f175.google.com ([74.125.82.175]:61729 "EHLO mail-we0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751547Ab3GZGDE convert rfc822-to-8bit (ORCPT ); Fri, 26 Jul 2013 02:03:04 -0400 MIME-Version: 1.0 In-Reply-To: <1374749544.29835.50.camel@x61.thuisdomein> References: <1374749544.29835.50.camel@x61.thuisdomein> Date: Fri, 26 Jul 2013 14:03:02 +0800 Message-ID: Subject: Re: [PATCH] staging/lustre: add BLOCK depends in Kconfig From: Xiong Zhou To: Paul Bolle Cc: Greg Kroah-Hartman , Andreas Dilger , Jiri Kosina , "linux-kernel@vger.kernel.org" , Peng Tao , devel@driverdev.osuosl.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1374 Lines: 39 2013/7/25 Paul Bolle : > On Thu, 2013-07-25 at 15:06 +0800, Xiong Zhou wrote: >> Add BLOCK depends in Kconfig for LUSTRE to fix this: >> drivers/staging/lustre/lustre/fid/../include/linux/lustre_compat25.h:117:2: >> error: implicit declaration of function ?unregister_blkdev? >> >> Signed-off-by: Xiong Zhou >> --- >> drivers/staging/lustre/lustre/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/staging/lustre/lustre/Kconfig b/drivers/staging/lustre/lustre/Kconfig >> index 9ae7fa8..0b45de0 100644 >> --- a/drivers/staging/lustre/lustre/Kconfig >> +++ b/drivers/staging/lustre/lustre/Kconfig >> @@ -1,6 +1,6 @@ >> config LUSTRE_FS >> tristate "Lustre file system client support" >> - depends on STAGING && INET && m >> + depends on STAGING && INET && BLOCK && m > > Everything below drivers/staging/lustre/Kconfig is only sourced if > STAGING is set. You can drop the dependency on STAGING. > Yes, it is. Thanks~ >> select LNET >> select CRYPTO >> select CRYPTO_CRC32 > > > Paul Bolle > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/