Re: [PATCH] xconfig: Display dependency values in debug_info

From: Randy Dunlap
Date: Wed Aug 15 2012 - 13:30:31 EST


On 08/15/2012 09:32 AM, Salar Ali Mumtaz wrote:

> On 12-08-10 08:39 PM, Randy Dunlap wrote:
>> On 08/09/2012 11:54 AM, Salar Ali Mumtaz wrote:
>>
>>> 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.
>>>
>>
>>
>> My question was about FRV, which is a boolean,
>> but still did not display as 'n' in your example.
>>
>>
>
> FRV is not a boolean.



Hm, why do you say that? Please explain.


from arch/frv/Kconfig:

config FRV
bool
default y



--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/