mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] zstd: Clean up errors in zstd_decompress_block.h
@ 2023-09-28  3:20 KaiLong Wang
  0 siblings, 0 replies; only message in thread
From: KaiLong Wang @ 2023-09-28  3:20 UTC (permalink / raw)
  To: terrelln; +Cc: linux-kernel

Fix the following errors reported by checkpatch:

ERROR: "foo* bar" should be "foo *bar"

Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
---
 lib/zstd/decompress/zstd_decompress_block.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/zstd/decompress/zstd_decompress_block.h b/lib/zstd/decompress/zstd_decompress_block.h
index 3d2d57a5d25a..f5d89fe89d32 100644
--- a/lib/zstd/decompress/zstd_decompress_block.h
+++ b/lib/zstd/decompress/zstd_decompress_block.h
@@ -45,9 +45,9 @@ typedef enum {
  * @return : decompressed block size,
  *           or an error code (which can be tested using ZSTD_isError())
  */
-size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
-                               void* dst, size_t dstCapacity,
-                         const void* src, size_t srcSize, const int frame, const streaming_operation streaming);
+size_t ZSTD_decompressBlock_internal(ZSTD_DCtx *dctx,
+                               void *dst, size_t dstCapacity,
+                         const void *src, size_t srcSize, const int frame, const streaming_operation streaming);
 
 /* ZSTD_buildFSETable() :
  * generate FSE decoding table for one symbol (ll, ml or off)
@@ -58,10 +58,10 @@ size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
  * defined in zstd_decompress_internal.h.
  * Internal use only.
  */
-void ZSTD_buildFSETable(ZSTD_seqSymbol* dt,
-             const short* normalizedCounter, unsigned maxSymbolValue,
-             const U32* baseValue, const U8* nbAdditionalBits,
-                   unsigned tableLog, void* wksp, size_t wkspSize,
+void ZSTD_buildFSETable(ZSTD_seqSymbol *dt,
+             const short *normalizedCounter, unsigned maxSymbolValue,
+             const U32 *baseValue, const U8 *nbAdditionalBits,
+                   unsigned tableLog, void *wksp, size_t wkspSize,
                    int bmi2);
 
 
-- 
2.17.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-28  3:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-28  3:20 [PATCH] zstd: Clean up errors in zstd_decompress_block.h KaiLong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®