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

From: Jiri Kosina
Date: Wed Apr 24 2013 - 12:24:16 EST


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?

Thanks,

--
Jiri Kosina
SUSE Labs
--
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/