* [PATCH] lib: zstd: Clean up errors in zstd_ddict.h
@ 2023-09-28 3:23 KaiLong Wang
2023-10-12 16:18 ` Nick Terrell
0 siblings, 1 reply; 2+ messages in thread
From: KaiLong Wang @ 2023-09-28 3:23 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_ddict.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/zstd/decompress/zstd_ddict.h b/lib/zstd/decompress/zstd_ddict.h
index 8c1a79d666f8..8fd15fca3724 100644
--- a/lib/zstd/decompress/zstd_ddict.h
+++ b/lib/zstd/decompress/zstd_ddict.h
@@ -34,10 +34,10 @@
* ZSTD_getDictID_fromDict()
*/
-const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict);
-size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict);
+const void *ZSTD_DDict_dictContent(const ZSTD_DDict *ddict);
+size_t ZSTD_DDict_dictSize(const ZSTD_DDict *ddict);
-void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
+void ZSTD_copyDDictParameters(ZSTD_DCtx *dctx, const ZSTD_DDict *ddict);
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] lib: zstd: Clean up errors in zstd_ddict.h
2023-09-28 3:23 [PATCH] lib: zstd: Clean up errors in zstd_ddict.h KaiLong Wang
@ 2023-10-12 16:18 ` Nick Terrell
0 siblings, 0 replies; 2+ messages in thread
From: Nick Terrell @ 2023-10-12 16:18 UTC (permalink / raw)
To: KaiLong Wang; +Cc: Nick Terrell, Nick Terrell, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]
> On Sep 27, 2023, at 11:23 PM, KaiLong Wang <wangkailong@jari.cn> wrote:
>
> >
> Fix the following errors reported by checkpatch:
>
> ERROR: "foo* bar" should be "foo *bar"
The zstd library is synced from upstream and does not fully conform to the Linux Kernel style guide.
Though if you notice errors in include/linux/zstd.h, our public API, please let me know.
Thanks,
Nick Terrell
> Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
> ---
> lib/zstd/decompress/zstd_ddict.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/zstd/decompress/zstd_ddict.h b/lib/zstd/decompress/zstd_ddict.h
> index 8c1a79d666f8..8fd15fca3724 100644
> --- a/lib/zstd/decompress/zstd_ddict.h
> +++ b/lib/zstd/decompress/zstd_ddict.h
> @@ -34,10 +34,10 @@
> * ZSTD_getDictID_fromDict()
> */
>
> -const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict);
> -size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict);
> +const void *ZSTD_DDict_dictContent(const ZSTD_DDict *ddict);
> +size_t ZSTD_DDict_dictSize(const ZSTD_DDict *ddict);
>
> -void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
> +void ZSTD_copyDDictParameters(ZSTD_DCtx *dctx, const ZSTD_DDict *ddict);
>
>
>
> --
> 2.17.1
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 13423 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-12 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-28 3:23 [PATCH] lib: zstd: Clean up errors in zstd_ddict.h KaiLong Wang
2023-10-12 16:18 ` Nick Terrell
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®