/[packages]/backports/8/kernel/current/SOURCES/lib-zstd-Fix-comment-typo.patch
ViewVC logotype

Contents of /backports/8/kernel/current/SOURCES/lib-zstd-Fix-comment-typo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1928606 - (show annotations) (download)
Sun Jan 1 13:13:06 2023 UTC (15 months, 3 weeks ago) by tmb
File size: 1150 byte(s)
sync with Cauldron kernel-6.1.2-1.mga9
1 From 19d7df98472851e1d2d11e00c177988d0f49683d Mon Sep 17 00:00:00 2001
2 From: Xin Gao <gaoxin@cdjrlc.com>
3 Date: Mon, 17 Oct 2022 15:18:59 -0700
4 Subject: [PATCH 4/6] lib: zstd: Fix comment typo
5
6 The double `when' is duplicated in line 999, remove one.
7
8 Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
9 Signed-off-by: Nick Terrell <terrelln@fb.com>
10 ---
11 lib/zstd/decompress/zstd_decompress.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/lib/zstd/decompress/zstd_decompress.c b/lib/zstd/decompress/zstd_decompress.c
15 index b4d81d84479a..6928e85f9d19 100644
16 --- a/lib/zstd/decompress/zstd_decompress.c
17 +++ b/lib/zstd/decompress/zstd_decompress.c
18 @@ -996,7 +996,7 @@ size_t ZSTD_decompress(void* dst, size_t dstCapacity, const void* src, size_t sr
19 size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) { return dctx->expected; }
20
21 /*
22 - * Similar to ZSTD_nextSrcSizeToDecompress(), but when when a block input can be streamed,
23 + * Similar to ZSTD_nextSrcSizeToDecompress(), but when a block input can be streamed,
24 * we allow taking a partial block as the input. Currently only raw uncompressed blocks can
25 * be streamed.
26 *
27 --
28 2.30.6
29

  ViewVC Help
Powered by ViewVC 1.1.30