Re: [PATCH 2/2] kconfig: allow use of relations other than (in)equality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> On 04.11.14 at 14:14, <pebolle@xxxxxxxxxx> wrote:
> On Tue, 2014-11-04 at 09:06 +0000, Jan Beulich wrote:
>> Question: Should "<>" and/or "==" then perhaps also be permitted?
> 
> You mean as aliases for "!=" and "="?

Yes.

>> +	if (k1 == k_string || k2 == k_string)
>> +		res = strcmp(str1, str2);
>> +	else if (k1 == k_invalid || k2 == k_invalid) {
>> +		if (e->type != E_EQUAL && e->type != E_UNEQUAL) {
>> +			printf("Cannot compare \"%s\" and \"%s\"\n", str1, str2);
>> +printf("(%s -> %d, %s -> %d)\n", sym_type_name(e->left.sym->type), k1, 
> sym_type_name(e->right.sym->type), k2);//temp
> 
> Leftover from development?

Argh - yes, definitely; I even have a note in the patch that these
should get dropped, but I managed to ignore that note.

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux