Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1545587

Re: [PATCH 1/3] crypto: Change lz4 modules to work with new lz4 compressor module version

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] crypto: Change lz4 modules to work with new lz4 compressor module version
Date 2016-12-21 06:30 +0100
Message-ID <sQHDs-7EN-3@gated-at.bofh.it> (permalink)
References <sQxXs-18O-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Sven,

[auto build test ERROR on linus/master]
[also build test ERROR on next-20161221]
[cannot apply to v4.9]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Sven-Schmidt/Update-LZ4-compressor-module/20161221-130109
config: i386-randconfig-x003-201651 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the linux-review/Sven-Schmidt/Update-LZ4-compressor-module/20161221-130109 HEAD 08652114d6d8867d2e8b3545b5e9f8a2fe11a5d7 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   crypto/lz4.c: In function 'lz4_compress_crypto':
>> crypto/lz4.c:55:8: error: implicit declaration of function 'LZ4_compress_default' [-Werror=implicit-function-declaration]
     err = LZ4_compress_default(src, dst, slen, tmp_len, ctx->lz4_comp_mem);
           ^~~~~~~~~~~~~~~~~~~~
   crypto/lz4.c: In function 'lz4_decompress_crypto':
>> crypto/lz4.c:71:8: error: implicit declaration of function 'LZ4_decompress_safe' [-Werror=implicit-function-declaration]
     err = LZ4_decompress_safe(src, dst, __slen, tmp_len);
           ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   crypto/lz4hc.c: In function 'lz4hc_compress_crypto':
>> crypto/lz4hc.c:55:8: error: implicit declaration of function 'LZ4_compress_HC' [-Werror=implicit-function-declaration]
     err = LZ4_compress_HC(src, dst, slen, tmp_len, LZ4HC_DEFAULT_CLEVEL, ctx->lz4hc_comp_mem);
           ^~~~~~~~~~~~~~~
>> crypto/lz4hc.c:55:49: error: 'LZ4HC_DEFAULT_CLEVEL' undeclared (first use in this function)
     err = LZ4_compress_HC(src, dst, slen, tmp_len, LZ4HC_DEFAULT_CLEVEL, ctx->lz4hc_comp_mem);
                                                    ^~~~~~~~~~~~~~~~~~~~
   crypto/lz4hc.c:55:49: note: each undeclared identifier is reported only once for each function it appears in
   crypto/lz4hc.c: In function 'lz4hc_decompress_crypto':
>> crypto/lz4hc.c:71:8: error: implicit declaration of function 'LZ4_decompress_safe' [-Werror=implicit-function-declaration]
     err = LZ4_decompress_safe(src, dst, __slen, (int)tmp_len);
           ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/LZ4_compress_default +55 crypto/lz4.c

    49				    unsigned int slen, u8 *dst, unsigned int *dlen)
    50	{
    51		struct lz4_ctx *ctx = crypto_tfm_ctx(tfm);
    52		size_t tmp_len = *dlen;
    53		int err;
    54	
  > 55		err = LZ4_compress_default(src, dst, slen, tmp_len, ctx->lz4_comp_mem);
    56	
    57		if (err < 0)
    58			return -EINVAL;
    59	
    60		*dlen = tmp_len;
    61		return 0;
    62	}
    63	
    64	static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src,
    65				      unsigned int slen, u8 *dst, unsigned int *dlen)
    66	{
    67		int err;
    68		size_t tmp_len = *dlen;
    69		size_t __slen = slen;
    70	
  > 71		err = LZ4_decompress_safe(src, dst, __slen, tmp_len);
    72		if (err < 0)
    73			return -EINVAL;
    74	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] crypto: Change lz4 modules to work with new lz4 compressor module version Sven Schmidt <4sschmid@informatik.uni-hamburg.de> - 2016-12-20 20:10 +0100
  Re: [PATCH 1/3] crypto: Change lz4 modules to work with new lz4  compressor module version kbuild test robot <lkp@intel.com> - 2016-12-21 06:30 +0100
  Re: [PATCH 1/3] crypto: Change lz4 modules to work with new lz4  compressor module version Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-12-22 14:30 +0100

csiph-web