Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756101Ab3DXQYJ (ORCPT ); Wed, 24 Apr 2013 12:24:09 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50333 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755840Ab3DXQYI (ORCPT ); Wed, 24 Apr 2013 12:24:08 -0400 Date: Wed, 24 Apr 2013 18:24:01 +0200 (CEST) From: Jiri Kosina To: Andy Shevchenko Cc: Andy Shevchenko , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] lib: fix trivial typo in the comment In-Reply-To: Message-ID: References: <1366626999-6270-1-git-send-email-andriy.shevchenko@linux.intel.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 764 Lines: 24 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/