From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932275Ab2HISyx (ORCPT ); Thu, 9 Aug 2012 14:54:53 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:48207 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932168Ab2HISys (ORCPT ); Thu, 9 Aug 2012 14:54:48 -0400 Message-ID: <50240770.6070207@gmail.com> Date: Thu, 09 Aug 2012 14:54:40 -0400 From: Salar Ali Mumtaz User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Randy Dunlap CC: Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xconfig: Display dependency values in debug_info References: <1343256982-11421-1-git-send-email-salaarali@gmail.com> <50107EB7.8000009@xenotime.net> <50117812.5080302@xenotime.net> <50213D69.3060904@gmail.com> <5021486B.6020907@xenotime.net> In-Reply-To: <5021486B.6020907@xenotime.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12-08-07 12:55 PM, Randy Dunlap wrote: > In Kconfig language, is "" the same as 'n' ? > If so, I'm OK with your proposal above. > So a colleague of mine tested this and came up with a conclusion that expressions in Kconfig can only deal with boolean or tristate operands and no casting is made with strings. Using any string operand as part of a boolean expression is simply a type error and Kconfig probably marks such operand as 'n', regardless of its value.