2023-09-28 03:27:48

by KaiLong Wang

[permalink] [raw]
Subject: [PATCH] zstd: Clean up errors in zstd_decompress_block.h

Fix the following errors reported by checkpatch:

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

Signed-off-by: KaiLong Wang <[email protected]>
---
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