Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4344278rdh; Tue, 28 Nov 2023 20:48:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IESAue4rYFSA6YoreAhN3cNRf2ksFC69sCTvHMWmf9AVAL33ICi2v+/3gzeAIOyRmAYEMOA X-Received: by 2002:a17:903:2346:b0:1cf:c649:529c with SMTP id c6-20020a170903234600b001cfc649529cmr12510230plh.18.1701233335284; Tue, 28 Nov 2023 20:48:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701233335; cv=none; d=google.com; s=arc-20160816; b=dM6/8RmZ2eFFT0z7hYXooHDddesHxgDDvlE76gNkPQCfpPf+TPoU15qMStHqjE14af 16OT73xQqKs/kaOcercZIS9A1CKlqhhXAp1oX5IGBF/ZFUJIFClvtEuJ/6Cwr45WTjhw 8ZVq+y3JVc7YCPZPjPTz51MntDhx7brRWyHI2Cp1rEiF5PgyN26t+PXf9WXZgiqbLPx6 VND8kQzsKdPkir/tp6MA/DCrnxRt0aDbObrwSUGpWcofgBo9BEr4yvRazPjdFRabvtRJ 9P36U3dSLBnfzWRODvuIbgS44QcEEdNf07L/+rmeLfui3xbfWq5RVeY/PE/xTmC/pHYV PNYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=dA/iuA5HrOPtIlOoBSvXMvFcyamkf+jbJ6Z3P2gbQVE=; fh=Hm90XwEn+e1pt9/kAryOntX60jvGYXwbzLmWLLjy5qY=; b=UAXELY5O3gdJOVw81L0QKFpTJbe3uNjJpmCa7LEB3lzxX2zumNxUvYcOeQNZopqXjx XFGNy7PX8S2mwySDLfj5ce1BlJ+IcCRNLYu9HQ1/rZOv6D6fHIPrDpRcaHgHlE+ppfrb wri9tJnBXEkAToJ/THlpWfKNVpU9vr48e107v9aftN0ueBXy/YS0GsKKVEHXSDQZjiPj VbAZPxcSih9cw5SCmd58wfTrv2f0am+5vmJOuM89Rh9yqa8UB3NFXM2zmnv4IRALosmI mk5ThkcVjTnW7ohJXmav1VcS4iyGSGPvxzvA5yGfUSXIVtkfTR9KrYduT6poKs9z+rbD Ktog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=H1xPhpwM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id a5-20020a1709027d8500b001cfce833b63si5684053plm.83.2023.11.28.20.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 20:48:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=H1xPhpwM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 98E0480A5F2F; Tue, 28 Nov 2023 20:48:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376904AbjK2Esg (ORCPT + 99 others); Tue, 28 Nov 2023 23:48:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230176AbjK2Esf (ORCPT ); Tue, 28 Nov 2023 23:48:35 -0500 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B293DA for ; Tue, 28 Nov 2023 20:48:40 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 76EB9240028 for ; Wed, 29 Nov 2023 05:48:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1701233316; bh=UtCQJrH4PhHRdhqntKG6LE5UKdmC2VnMzTyyMjTF9E8=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=H1xPhpwMWygFMRivR3I9lKr0vHvy4iBOLULqP2K/H7dEGyvNG6kLMzv0AYxqujFN8 bxoFjTzTPLfH3af7r4IpTuSwUqHBuQBNO7/MDinBkzue6CmxfUgyZU6JVkDLXPlEPV nYstHcJWv0fzCjE4v9b0x4Uf9GuW30Eofpv3VZmP2mf2DNKF5ext6WzPAtKpTLvBlO RIm37m3vISnHOFSE79yYYovUvUEpXQ1Vkv/Wpgw1ThZQNG0Kxbn6TaTMjoUeIsLnL/ c9kydeZXENuvlJOxUMuOj9rrcl6T6KkbsgmGtAPciE4EXoLYYD0/qwiWKmfIP23D/8 LQiK51A6qZfig== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Sg6KH4ZBjz6twX; Wed, 29 Nov 2023 05:48:35 +0100 (CET) Date: Wed, 29 Nov 2023 04:48:34 +0000 From: Wilken Gottwalt To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH] lib: kstrtox: fix typo in comment Message-ID: <20231129054834.2ffbe481@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 28 Nov 2023 20:48:52 -0800 (PST) On Tue, 28 Nov 2023 08:26:03 -0800 Randy Dunlap wrote: > On 11/28/23 00:27, Wilken Gottwalt wrote: > > Delete one of the double f's in "iff". > > > > Signed-off-by: Wilken Gottwalt > > Nope, see: > https://en.wikipedia.org/wiki/If_and_only_if Oh, interesting. Never thought of this. Though, now I wonder: How often do such "fixes" happen? > > --- > > lib/kstrtox.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/kstrtox.c b/lib/kstrtox.c > > index d586e6af5e5a..b0a9fdce15b3 100644 > > --- a/lib/kstrtox.c > > +++ b/lib/kstrtox.c > > @@ -340,7 +340,7 @@ EXPORT_SYMBOL(kstrtos8); > > * @s: input string > > * @res: result > > * > > - * This routine returns 0 iff the first character is one of 'YyTt1NnFf0', or > > + * This routine returns 0 if the first character is one of 'YyTt1NnFf0', or > > * [oO][NnFf] for "on" and "off". Otherwise it will return -EINVAL. Value > > * pointed to by res is updated upon finding a match. > > */ >