* + lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch added to -mm tree
@ 2021-05-11 21:09 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-05-11 21:09 UTC (permalink / raw)
To: hsiangkao, joe, mm-commits, terrelln, thisisrast7
The patch titled
Subject: lz4_decompress: declare LZ4_decompress_safe_withPrefix64k static
has been added to the -mm tree. Its filename is
lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Rajat Asthana <thisisrast7@gmail.com>
Subject: 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?
Link: https://lkml.kernel.org/r/20210511154345.610569-1-thisisrast7@gmail.com
Signed-off-by: Rajat Asthana <thisisrast7@gmail.com>
Reviewed-by: Nick Terrell <terrelln@fb.com>
Cc: Gao Xiang <hsiangkao@redhat.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/lz4/lz4_decompress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/lib/lz4/lz4_decompress.c~lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static
+++ a/lib/lz4/lz4_decompress.c
@@ -481,7 +481,7 @@ int LZ4_decompress_fast(const char *sour
/* ===== 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,
_
Patches currently in -mm which might be from thisisrast7@gmail.com are
lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-11 21:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 21:09 + lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).