Skip to contentSkip to conversation

lib-lzo-make-lzogeneric1x_1_compress-static.patch removed from -mm tree

merged [email protected] 1 participant 1 message Dec 16, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: lib/lzo/lzo1x_compress.c: make lzogeneric1x_1_compress() static
has been removed from the -mm tree. Its filename was
lib-lzo-make-lzogeneric1x_1_compress-static.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jason Yan <[email protected]>
Subject: lib/lzo/lzo1x_compress.c: make lzogeneric1x_1_compress() static

Fix the following sparse warning:

lib/lzo/lzo1x_compress.c:304:5: warning: symbol 'lzogeneric1x_1_compress' was not declared. Should it be static?

---

 lib/lzo/lzo1x_compress.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/lzo/lzo1x_compress.c renamed from lib/lzo/lzo1x_compress.c~lib-lzo-make-lzogeneric1x_1_compress-static +1 -1
@@ -301,7 +301,7 @@ finished_writing_instruction:
 	return in_end - (ii - ti);
 }
 
-int lzogeneric1x_1_compress(const unsigned char *in, size_t in_len,
+static int lzogeneric1x_1_compress(const unsigned char *in, size_t in_len,
 		     unsigned char *out, size_t *out_len,
 		     void *wrkmem, const unsigned char bitstream_version)
 {

_

Patches currently in -mm which might be from [email protected] are