Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753208Ab0KZMd5 (ORCPT ); Fri, 26 Nov 2010 07:33:57 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:51923 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866Ab0KZMdz convert rfc822-to-8bit (ORCPT ); Fri, 26 Nov 2010 07:33:55 -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=VSOBp57yOeu7ROouIk2Ln8RleHkxK9/XfQZTfefH3U7hmjRZg3F+An6ptjor3FnzEz Hi6ECfCKo/syOPNEVBT3kUwsGum+aop5o6pPdCiJD0Gc7WmeTz29RMDhmj4skcO0cMm4 s3C0trxup+jnAQUpWG9Mxde/FFZvvyPlFQoRE= MIME-Version: 1.0 In-Reply-To: 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> Date: Fri, 26 Nov 2010 12:33:54 +0000 X-Google-Sender-Auth: uCE0qkIVXWq2YHUI2gtI3ejBMFg Message-ID: Subject: Re: [PATCH] Revert "kconfig: Temporarily disable dependency warnings" From: Catalin Marinas To: Arnaud Lacombe Cc: Stephen Rothwell , Michal Marek , 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: 986 Lines: 25 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. -- 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/