Skip to contentSkip to conversation

lib: zstd: Fix double word in comments

PATCH Mat Martineau 1 participant 1 message Oct 17, 2022 1 message not in the archive Networking MPTCP

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 26 lines · Shaomin Deng

Drop the repeated word "when" in comments.

---
lib/zstd/decompress/zstd_decompress.c | 2 +-
net/mptcp/token.c | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
lib/zstd/decompress/zstd_decompress.c +1 -1
index b4d81d84479a..6928e85f9d19 100644
@@ -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.
 *
net/mptcp/token.c +0 -0
index f52ee7b26aed..68b822691e36 100644

net/mptcp/token.c EXPORT_SYMBOL_GPL(mptcp_token_get_sock); · line 291

Quoted 5 lines
net/mptcp/token.c +1 -1
@@ -288,7 +288,7 @@ EXPORT_SYMBOL_GPL(mptcp_token_get_sock);
 * token container starting from the specified position, or NULL.
 *
 * On successful iteration, the iterator is move to the next position and the
- * the acquires a reference to the returned socket.
+ * acquires a reference to the returned socket.

Hi Shaomin -

Please separate the net/mptcp/token.c change into a separate patch, and when resubmitting use the [email protected] mailing list so your contribution and any discussion are in the mailing list archives. Thank you!

Quoted 7 lines
net/mptcp/token.c +0 -0
 */
 struct mptcp_sock *mptcp_token_iter_next(const struct net *net, long *s_slot,
 					 long *s_num)
Signature · 1 line
2.35.1

--
Mat Martineau
Intel