lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 21 Dec 2016 13:25:43 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Sven Schmidt <4sschmid@...ormatik.uni-hamburg.de>
Cc:     kbuild-all@...org, akpm@...ux-foundation.org, bongkyu.kim@....com,
        sergey.senozhatsky@...il.com, gregkh@...uxfoundation.org,
        linux-kernel@...r.kernel.org,
        Sven Schmidt <4sschmid@...ormatik.uni-hamburg.de>
Subject: Re: [PATCH 1/3] crypto: Change lz4 modules to work with new lz4
 compressor module version

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

Download attachment ".config.gz" of type "application/gzip" (24652 bytes)

Powered by blists - more mailing lists