* [PATCH] lib: zstd: fix repeated words in comments
@ 2022-09-02 1:32 Jilin Yuan
2022-10-17 21:49 ` Nick Terrell
0 siblings, 1 reply; 2+ messages in thread
From: Jilin Yuan @ 2022-09-02 1:32 UTC (permalink / raw)
To: terrelln; +Cc: linux-kernel, Jilin Yuan
Delete the redundant word 'the'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
lib/zstd/compress/zstd_compress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/zstd/compress/zstd_compress.c b/lib/zstd/compress/zstd_compress.c
index a4e916008b3a..73fff4c60149 100644
--- a/lib/zstd/compress/zstd_compress.c
+++ b/lib/zstd/compress/zstd_compress.c
@@ -4441,7 +4441,7 @@ static size_t ZSTD_validateSequence(U32 offCode, U32 matchLength,
size_t posInSrc, U32 windowLog, size_t dictSize, U32 minMatch) {
size_t offsetBound;
U32 windowSize = 1 << windowLog;
- /* posInSrc represents the amount of data the the decoder would decode up to this point.
+ /* posInSrc represents the amount of data the decoder would decode up to this point.
* As long as the amount of data decoded is less than or equal to window size, offsets may be
* larger than the total length of output decoded in order to reference the dict, even larger than
* window size. After output surpasses windowSize, we're limited to windowSize offsets again.
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lib: zstd: fix repeated words in comments
2022-09-02 1:32 [PATCH] lib: zstd: fix repeated words in comments Jilin Yuan
@ 2022-10-17 21:49 ` Nick Terrell
0 siblings, 0 replies; 2+ messages in thread
From: Nick Terrell @ 2022-10-17 21:49 UTC (permalink / raw)
To: Jilin Yuan; +Cc: linux-kernel
> On Sep 1, 2022, at 6:32 PM, Jilin Yuan <yuanjilin@cdjrlc.com> wrote:
>
> >
> Delete the redundant word 'the'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Thanks for the patch! I'm including it in my tree for the v6.2 merge window.
Best,
Nick Terrell
> ---
> lib/zstd/compress/zstd_compress.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/zstd/compress/zstd_compress.c b/lib/zstd/compress/zstd_compress.c
> index a4e916008b3a..73fff4c60149 100644
> --- a/lib/zstd/compress/zstd_compress.c
> +++ b/lib/zstd/compress/zstd_compress.c
> @@ -4441,7 +4441,7 @@ static size_t ZSTD_validateSequence(U32 offCode, U32 matchLength,
> size_t posInSrc, U32 windowLog, size_t dictSize, U32 minMatch) {
> size_t offsetBound;
> U32 windowSize = 1 << windowLog;
> - /* posInSrc represents the amount of data the the decoder would decode up to this point.
> + /* posInSrc represents the amount of data the decoder would decode up to this point.
> * As long as the amount of data decoded is less than or equal to window size, offsets may be
> * larger than the total length of output decoded in order to reference the dict, even larger than
> * window size. After output surpasses windowSize, we're limited to windowSize offsets again.
> --
> 2.36.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-17 21:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-02 1:32 [PATCH] lib: zstd: fix repeated words in comments Jilin Yuan
2022-10-17 21:49 ` Nick Terrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).