Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp190366imi; Thu, 21 Jul 2022 19:12:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucAhKE/hCHYbYCwSuY7OzDVFyGQKpQdyC/EMTzC0Rr54p+bftERV9UeSHna0QQxUE4NfEp X-Received: by 2002:a17:90b:60c:b0:1f2:824:da91 with SMTP id gb12-20020a17090b060c00b001f20824da91mr1498665pjb.203.1658455949325; Thu, 21 Jul 2022 19:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658455949; cv=none; d=google.com; s=arc-20160816; b=0nQKoNIOVOlhF9QsCN82YrMMkxZ0TD/n1YLLpyjubjBudMSYhWzb8Ne5zjOgqHkTls A8OrztlP4SxT3eLTsGB1ijng6/7SWALARp6lZDrQH4959gF9sNIVC/3eOSZPm33K7NGb zZqYikwRRTgBJc1PuFa3fapI+uC1R3FnIG0QjfRJjMbGDvAXlKUhGraFq8Eo+zIpSShu 91jJvaBPJKfmkRP6yBI5UKmNN5t3QuT3RvY8TDxPdbEWf5Q9xrwql/NLX1xAt5hmoGwh RiGIur9wfYO2wQD5qYxrejrOv7oHNSI/nbuuG/6ZgonWbGwAxkPUOmzarqqfn6S8rxsT V8iw== 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=fOMMVZlbURoRA/d0ntzKTIjzQL/cValTYJi9ZbYiJFk=; b=SMuWwItiYT4yx5HkPYpwCIpmo31aRvjt8XMb/r08ZGGip2k1qtMg/2rX8T5Tta5AZD TQWMpU2PPxbqlltvQG8ncUuAyVc/kYCjoTizY+FZEKm88xaK8HMCnmhh+bSNYV8ajPCq xFXoixLwxqZyi/wJaokHO8YHdhuvWTaveuGuA6QqsJLdfbLzU1bLY1bhMTAl+uK23T3s ouyF7mOg7Ox3Uh50LHRgpAbc35bUi4F0C/WfFELfZo13gsFdApNSP+RDp2nOZqmphRPF 3fLxOksDY4JOkJ0wKr98/0BaPg6aZ3nFQ7Ffxz41UFJjeptv5Ds4RJ3hCKB5urv9q8jE lUZA== 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 j128-20020a62c586000000b00528a3653a02si4102359pfg.329.2022.07.21.19.12.14; Thu, 21 Jul 2022 19:12:29 -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 S229844AbiGVBsC (ORCPT + 99 others); Thu, 21 Jul 2022 21:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiGVBsB (ORCPT ); Thu, 21 Jul 2022 21:48:01 -0400 Received: from smtpbg.qq.com (unknown [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4A6D972D8 for ; Thu, 21 Jul 2022 18:47:56 -0700 (PDT) X-QQ-mid: bizesmtp65t1658454472t5saw605 Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 22 Jul 2022 09:47:47 +0800 (CST) X-QQ-SSF: 0100000000000030C000000A0000020 X-QQ-FEAT: iQygIJK8D+fJ/gB1c8hy7EMrB92aFy80KT+cy3Z8AHlzWXecaEdV/s9v3FOMf sx1UTOzGA7ZAIJGZgLfrqloD6aEx32z05acI/0n5AdYSG04pm7w6GIYPlU2ak1NUt7ZpuH2 vnCur2nCV+bQjZSiqZzhhNCxVJMoxxcziCK0V5dbntFzAXwkAoQlbz0xmXGFThSXabV4Ork itYd8kVdStu6ggcuhG51rMKGP8azUnbkwgFmxQfMoF7X5XWpK+uD+E0Qj/YX8ynlL4MnC0p JNszs/MvJzE3P0UM3dvWN/u/jQAGldyV+1bgGcf4p6dXlgGvP7rw8Izj/LcxdmfwQLKxRuv 0k3gmVHXUyccbeHnWeKh4mp/SIp14TzYBceuMQF X-QQ-GoodBg: 0 From: Xin Gao To: terrelln@fb.com Cc: linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] lib: zstd: Fix comment typo Date: Fri, 22 Jul 2022 09:47:45 +0800 Message-Id: <20220722014745.14614-1-gaoxin@cdjrlc.com> X-Mailer: git-send-email 2.30.2 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 line 999, remove one. Signed-off-by: Xin Gao --- 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.30.2