Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754627Ab0KZOuO (ORCPT ); Fri, 26 Nov 2010 09:50:14 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:62620 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902Ab0KZOuM convert rfc822-to-8bit (ORCPT ); Fri, 26 Nov 2010 09:50:12 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=a0x4q/rubVBUjecgku29w35NLv6ACgvq5JkowpNp/AyuRlIWUBRWaWQEG8AAfRlhxC 2b2ffmTZIvjBSJ9VcJMKKNrCvH3V5aTIwMQQbvnI8oRKSVjEtuKOCBKbq7A5Fr8UZujS PmKcS2YlfdJ4x+CexF9stT2pS34w+m01DA8NE= MIME-Version: 1.0 In-Reply-To: <4CEFB731.4050307@suse.cz> References: <20101011145930.11fe570c.randy.dunlap@oracle.com> <1286889586-13483-1-git-send-email-mmarek@suse.cz> <20101029113731.5c7c54b9.sfr@canb.auug.org.au> <20101122114801.2eee4c4d.sfr@canb.auug.org.au> <20101122135715.121b5eb7.sfr@canb.auug.org.au> <4CEFB731.4050307@suse.cz> Date: Fri, 26 Nov 2010 14:50:10 +0000 X-Google-Sender-Auth: Rf-4kINbL5yd5kV1uiDSMRjCof4 Message-ID: Subject: Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" From: Catalin Marinas To: Michal Marek Cc: Arnaud Lacombe , Stephen Rothwell , randy.dunlap@oracle.com, linux-kbuild@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, xiyou.wangcong@gmail.com, Mauro Carvalho Chehab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1376 Lines: 33 On 26 November 2010 13:33, Michal Marek wrote: > On 26.11.2010 13:33, Catalin Marinas wrote: >> On 25 November 2010 18:09, Arnaud Lacombe wrote: >>> On Thu, Nov 25, 2010 at 12:43 PM, Catalin Marinas >>> wrote: >>>> Now, commenting on your patches, you added a new statement, 'visible >>>> if...' for menus. Can we not change it to something like: >>>> >>>> -menu "I2C Algorithms" >>>> -       depends on !I2C_HELPER_AUTO >>>> +menu "I2C Algorithms" if !I2C_HELPER_AUTO >>>> >>> no because if_expr are translated internally in term of dependency, >>> which we don't want. >> >> That's correct but I was wondering whether we could change this kind >> of 'if' to a visibility attribute or a weaker dependency and avoid >> 'select' warnings. This way we wouldn't introduce new keywords to the >> kconfig language. > > I quite like the "visible if" notation because it makes it explicit that > it only affects the display of the menu and does not add any dependency > to the data. That's fine by me. If you like this feature then it could get upstream :) -- Catalin -- 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/