Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756191Ab3DXQ0E (ORCPT ); Wed, 24 Apr 2013 12:26:04 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:34921 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753407Ab3DXQ0C (ORCPT ); Wed, 24 Apr 2013 12:26:02 -0400 MIME-Version: 1.0 In-Reply-To: References: <1366626999-6270-1-git-send-email-andriy.shevchenko@linux.intel.com> Date: Wed, 24 Apr 2013 19:26:00 +0300 Message-ID: Subject: Re: [PATCH] lib: fix trivial typo in the comment From: Andy Shevchenko To: Jiri Kosina Cc: Andy Shevchenko , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 989 Lines: 28 On Wed, Apr 24, 2013 at 7:24 PM, Jiri Kosina 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/