lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4102ea9a.8ae.18ad9cd7e6d.Coremail.wangkailong@jari.cn>
Date:   Thu, 28 Sep 2023 11:20:37 +0800 (GMT+08:00)
From:   "KaiLong Wang" <wangkailong@...i.cn>
To:     terrelln@...com
Cc:     linux-kernel@...r.kernel.org
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 <wangkailong@...i.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ