+ lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
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@xxxxxxxxx
Signed-off-by: Rajat Asthana <thisisrast7@xxxxxxxxx>
Reviewed-by: Nick Terrell <terrelln@xxxxxx>
Cc: Gao Xiang <hsiangkao@xxxxxxxxxx>
Cc: Joe Perches <joe@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxx are

lz4_decompress-declare-lz4_decompress_safe_withprefix64k-static.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux