Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4453798imw; Tue, 19 Jul 2022 06:57:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tIAwOVYliUXti2wzducmUbXkMQUKGtguiJa3tEdhdZadO7ZPr86oFd/SxP/drjFukEP1SS X-Received: by 2002:a17:907:6930:b0:72b:6da5:7c08 with SMTP id rb48-20020a170907693000b0072b6da57c08mr30810238ejc.187.1658239074311; Tue, 19 Jul 2022 06:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658239074; cv=none; d=google.com; s=arc-20160816; b=pK0oJuOp/QxtmJjjSfXE91/PPCbs1WjqjZyZ1sM8+Oypm4+iSaHGJJ2TIOGWaHqM9+ Q6t5yjLVo70xAZjZfHo6jOr+HhWpes3yHLo1Pu68JQsG+HTVRMurFJKUgZJrPw45zfKc X2CMPqnWWINt9PL4pWmwNbMt0xz9U54OtF74IVZucqt5mEibLoqEKjk/sMC0BID/b3wg hJx55p9oJXlgvLtZ18C3BeC+QhluT7UxX+zr6gYKrBQ2Dkp1uNMbr8L9ruU9jiiKZ/HT ARe7W8QcGs+cn22gycZQwaqclTYZGiZQBDPreuZvf77iXmU6BNlHheuWRiciLOeKH69p 32rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=jxXvfFeInFrXEuKpmtHD6YGbwdMf7i+jumICs6hpRkw=; b=fqL/nLFGOmqa6XnwV+KnzydXIJ/rsFhoO8f3v5mlSv8Y5cygmwfL2yG/oLl/2Q+Uu0 I6IaSwYTN2fIGAstU4+e+Y4IP5ydB5KyMQSA8sBm8Yib/POLQq8F1bePELlP6PCGsCtD MSh2c+T4O64DN4TuiaOYCBryAuYyyXJhtRpWUXfUr5Gy+tw4i3MmNUEHhwDlk7aaHhz1 Ul5D+9kkz6aVFdOZM0denOMSkvovkaX0Fnehx2hVjSThV46uA5M1EOabm96nDB5LQVgE d5TySPlin4opaRadLdNnkwrlXIIMjRAmigLsbIGGOHN3Q52Ge4OkS1Qwy6x54ubupAhM Mhqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg23-20020a170907971700b0072af11bd181si20591187ejc.580.2022.07.19.06.57.28; Tue, 19 Jul 2022 06:57:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238496AbiGSNfW (ORCPT + 99 others); Tue, 19 Jul 2022 09:35:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237743AbiGSNfC (ORCPT ); Tue, 19 Jul 2022 09:35:02 -0400 Received: from smtpbg.qq.com (unknown [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3578665CB for ; Tue, 19 Jul 2022 05:50:08 -0700 (PDT) X-QQ-mid: bizesmtp83t1658235004ts0gvr5d Received: from localhost.localdomain ( [171.223.96.21]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 19 Jul 2022 20:50:03 +0800 (CST) X-QQ-SSF: 01000000002000F0U000C00A0000020 X-QQ-FEAT: y5UFFkuhlmLJay+iUMfn5ZoRmWc5c/R+3h7kUQ/Xuhb+fjBpyfO3hH/QSLVlb 5EyC+PfLl5v1Qm+pDYWpAycfmlYlO+vSXcAjLdTIv9ekq9A/X6NYmfjd4mv0xWyLk0i7hDi Zdi0/vKVLTPTsg2rzjmrCn330Aa2TzaX3iaAIvT/i/d1dG+Slg05+PCE9w6JUwL3iikXK8D wUVEJFZifaPC8I+e4NVGJhh/9T70Iv7ZFVSF/YGYEpVvNHwgL9oRMRFcFyJp/LWBLtUVvRk vSSFkydtO/3GRtU/R1a876XoBWH8VwKdjKAzfQ1Gl0lbNWH+Jvp5RiV8juMRVdMg2j25Ou4 pYnK5Uej+i+2flsIPd35FY1uoFCaOs/rEu71YHg3qmo07YwYTXb8hG69WUTKSgToLkHUjcl CmG2HqClHOw= X-QQ-GoodBg: 0 From: Jason Wang To: terrelln@fb.com Cc: linux-kernel@vger.kernel.org, Jason Wang Subject: [PATCH] lib: zstd: Fix comment typo Date: Sat, 16 Jul 2022 12:47:59 +0800 Message-Id: <20220716044759.44603-1-wangborong@cdjrlc.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE,SPF_PASS, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The double `when' is duplicated in the comment, remove one. Signed-off-by: Jason Wang --- lib/zstd/decompress/zstd_decompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zstd/decompress/zstd_decompress.c b/lib/zstd/decompress/zstd_decompress.c index b4d81d84479a..6928e85f9d19 100644 --- a/lib/zstd/decompress/zstd_decompress.c +++ b/lib/zstd/decompress/zstd_decompress.c @@ -996,7 +996,7 @@ size_t ZSTD_decompress(void* dst, size_t dstCapacity, const void* src, size_t sr size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) { return dctx->expected; } /* - * Similar to ZSTD_nextSrcSizeToDecompress(), but when when a block input can be streamed, + * Similar to ZSTD_nextSrcSizeToDecompress(), but when a block input can be streamed, * we allow taking a partial block as the input. Currently only raw uncompressed blocks can * be streamed. * -- 2.35.1