Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753823AbWLRLIp (ORCPT ); Mon, 18 Dec 2006 06:08:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753825AbWLRLIp (ORCPT ); Mon, 18 Dec 2006 06:08:45 -0500 Received: from mx1.redhat.com ([66.187.233.31]:47119 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753823AbWLRLIo (ORCPT ); Mon, 18 Dec 2006 06:08:44 -0500 Subject: Re: [GFS2] Fix Kconfig [2/2] From: Steven Whitehouse To: Jan Engelhardt Cc: cluster-devel@redhat.com, linux-kernel@vger.kernel.org, Patrick Caulfield , Chris Zubrzycki , Adrian Bunk , Randy Dunlap , Toralf =?ISO-8859-1?Q?F=F6rster?= , Aleksandr Koltsoff In-Reply-To: References: <1166435650.3752.1263.camel@quoit.chygwyn.com> <1166435849.3752.1266.camel@quoit.chygwyn.com> Content-Type: text/plain Organization: Red Hat (UK) Ltd Date: Mon, 18 Dec 2006 11:10:40 +0000 Message-Id: <1166440240.3752.1276.camel@quoit.chygwyn.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1138 Lines: 41 Hi, On Mon, 2006-12-18 at 11:50 +0100, Jan Engelhardt wrote: > On Dec 18 2006 09:57, Steven Whitehouse wrote: > > config GFS2_FS_LOCKING_DLM > > tristate "GFS2 DLM locking module" > >- depends on GFS2_FS > >+ depends on GFS2_FS && NET && INET && (IPV6 || IPV6=n) > > What is this supposed to do? IPV6 || IPV6=n is a tautology AFAICS. > > > -`J' It looks odd, I'll grant you, but see the thread entitled "Re: [PATCH] Remove logically superfluous comparisons from Kconfig files." and the answer that Russell King has just given on the same subject where he says: >config FOO > tristate 'foo' > depends on BAR || BAR=n > >is not superfluous. The allowed states for FOO with the above >construct are (assuming modules are enabled): > > BAR FOO > Y Y,M,N > M M,N > N Y,M,N which hopefully explains it a bit better, Steve. - 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/