[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210511154345.610569-1-thisisrast7@gmail.com>
Date: Tue, 11 May 2021 21:13:45 +0530
From: Rajat Asthana <thisisrast7@...il.com>
To: akpm@...ux-foundation.org, terrelln@...com, hsiangkao@...hat.com,
joe@...ches.com
Cc: linux-kernel@...r.kernel.org, Rajat Asthana <thisisrast7@...il.com>
Subject: [PATCH] lz4_decompress: declare LZ4_decompress_safe_withPrefix64k static
Declare LZ4_decompress_safe_withPrefix64k as static to fix sparse
warning:
> warning: symbol 'LZ4_decompress_safe_withPrefix64k' was not declared.
> Should it be static?
Signed-off-by: Rajat Asthana <thisisrast7@...il.com>
---
lib/lz4/lz4_decompress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/lz4/lz4_decompress.c b/lib/lz4/lz4_decompress.c
index 8a7724a6ce2f..926f4823d5ea 100644
--- a/lib/lz4/lz4_decompress.c
+++ b/lib/lz4/lz4_decompress.c
@@ -481,7 +481,7 @@ int LZ4_decompress_fast(const char *source, char *dest, int originalSize)
/* ===== Instantiate a few more decoding cases, used more than once. ===== */
-int LZ4_decompress_safe_withPrefix64k(const char *source, char *dest,
+static int LZ4_decompress_safe_withPrefix64k(const char *source, char *dest,
int compressedSize, int maxOutputSize)
{
return LZ4_decompress_generic(source, dest,
--
2.31.1
Powered by blists - more mailing lists