Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3971635rdh; Tue, 28 Nov 2023 08:26:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGBoYW2CNn1rQBJi9KUV96qSlHno5b5e2W/r9YD/ozLceFBMnrB+MhwenR/h/dm/oXJ8Ip X-Received: by 2002:a05:6a21:999e:b0:18c:382e:48f1 with SMTP id ve30-20020a056a21999e00b0018c382e48f1mr12070613pzb.7.1701188803905; Tue, 28 Nov 2023 08:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701188803; cv=none; d=google.com; s=arc-20160816; b=yTNxKCB1INmaHlUMuyEA1VLc/FaA0ueSaWdiGVJtSsu7V0aaR2QOlU+ajx/RFuXWtR +m7IfOWNmge1UDZRbJI3k1E4yr8AQ3AlnqqpjX1UjqKq+Cv0AynlQeWP3ub/i2ld1xbJ b4KujC9V+E1Uqvag1lWjSKSbRFkHQE6X270COKVXDI03Wovqp7YCr5h4Xc6tg3YElkN5 MSi42CCNGW8V2Ab0QeZyhx055f/Ansro6Oz4/cQlkC0hqeDKn6E6QQb9Cyjj9nQbXUzl ulHNWCCyQXW7WuySgVf/WOykDVphst4EnySjOrsh+AXI+OCDYcbRUQQPvCa8GWt+kRmh 6H5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6YdxQ6TPTCO0wTiV5GT2AhsiDswNReE589bphcgljEY=; fh=YcoECvGnw+i+EliAS5y0SYYoOToernIdL25Cstr0TBI=; b=GjUu0njyCHtdbgDiWCKYEtbxRJiwJv044FSBuRUWRqE4CP1NwXQvOrx7svLxA86eVr dHlVvmHHd7h9s1Z+5x7ZC3kwLGiuo7QpTmaanRKUSrn1N9QlcDQ9LREUtBQKd4tlTTWR vY4khnzC73vyxz2xoYdB4gGeERZBYvHqsxcuFze4pSLrw44zm3u59ym8aCa1toXCvD8U KZ3v1cE9UnLVviZLfseNQcL06VRpYVgWor7sRojmWXBxyxqI0QSunP96BAnxYKmgFm/I br1EvQ0n4EjGnC3X67FVRVJVG9kGCNjR7XfvhartkuTXii/V2JO9M4BrD+hB4+zAw+Vd Swow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ADgKcEYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v10-20020a056a00148a00b006cc040f386esi8478783pfu.60.2023.11.28.08.26.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 08:26:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ADgKcEYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9BA5D8075DE1; Tue, 28 Nov 2023 08:26:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232885AbjK1Q0A (ORCPT + 99 others); Tue, 28 Nov 2023 11:26:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjK1QZ7 (ORCPT ); Tue, 28 Nov 2023 11:25:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD369AB for ; Tue, 28 Nov 2023 08:26:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=6YdxQ6TPTCO0wTiV5GT2AhsiDswNReE589bphcgljEY=; b=ADgKcEYyEXvG3Mr2mt+9ghny6L thlIgwCSfq3HD+j2IeeCDJJVH9ysDjlxQV1fYEJBYfmiYENxItb1ZP99OXQtqdpcb49wTYmH6yHCv B0vrKjTrg+mZ/J1pDKfF1kk4P7CpaOBktKDZ8cvBKgr3UIiP2BAonKSwkehWdro6q8FPT1DUKaG33 xMXQoDlvVY7Zm26dTV97kN4oI+o0ABh63AGP+oV2PcRMWJbyxXC2xvy00nOfF140ruJml+J3+xAEZ 5wycLC7LU+D2ljS9VV1HpMtKabsolAQGKNaGp2Fmq8kmguo2s7pGkbPPi5uGqg2a8PpDcM0gVVk5z MalqlmQg==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1r80uS-005oAG-22; Tue, 28 Nov 2023 16:26:04 +0000 Message-ID: Date: Tue, 28 Nov 2023 08:26:03 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] lib: kstrtox: fix typo in comment Content-Language: en-US To: Wilken Gottwalt , linux-kernel@vger.kernel.org Cc: Andrew Morton References: From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 28 Nov 2023 08:26:41 -0800 (PST) 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 > --- > 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. > */ -- ~Randy