Re: [PATCH] lib: fix trivial typo in the comment

From: Andy Shevchenko
Date: Wed Apr 24 2013 - 12:26:09 EST


On Wed, Apr 24, 2013 at 7:24 PM, Jiri Kosina <jkosina@xxxxxxx> wrote:
> On Wed, 24 Apr 2013, Andy Shevchenko wrote:
>
>> >> - * This routine returns 0 iff the first character is one of 'Yy1Nn0'.
>> >> + * This routine returns 0 if the first character is one of 'Yy1Nn0'.
>> >> * Otherwise it will return -EINVAL. Value pointed to by res is
>> >> * updated upon finding a match.
>> >> */
>> >
>> > And this is correct because ... ?
>>
>> So, in this case it means "if and only if", true?
>
> Yes, and that's in accordance with what the function does, isn't it?

Apparently, yes.
Please, discard the patch. It's quite good to learn something new,
though the term is confusing for me as ESL speaker.


--
With Best Regards,
Andy Shevchenko
--
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/