[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201612211349.8Yo76yla%fengguang.wu@intel.com>
Date: Wed, 21 Dec 2016 13:16:14 +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 2/3] fs/pstore: fs/squashfs: Change lz4 compressor
functions to work with new 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: x86_64-randconfig-x006-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=x86_64
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 >>):
fs/pstore/platform.c: In function 'compress_lz4':
>> fs/pstore/platform.c:345:8: error: implicit declaration of function 'LZ4_compress_default' [-Werror=implicit-function-declaration]
ret = LZ4_compress_default(in, out, inlen, outlen, workspace);
^~~~~~~~~~~~~~~~~~~~
fs/pstore/platform.c: In function 'decompress_lz4':
>> fs/pstore/platform.c:358:8: error: implicit declaration of function 'LZ4_decompress_safe' [-Werror=implicit-function-declaration]
ret = LZ4_decompress_safe(in, out, inlen, outlen);
^~~~~~~~~~~~~~~~~~~
fs/pstore/platform.c: In function 'allocate_lz4':
>> fs/pstore/platform.c:369:20: error: implicit declaration of function 'LZ4_compressBound' [-Werror=implicit-function-declaration]
big_oops_buf_sz = LZ4_compressBound(psinfo->bufsize);
^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/LZ4_compress_default +345 fs/pstore/platform.c
339
340 #ifdef CONFIG_PSTORE_LZ4_COMPRESS
341 static int compress_lz4(const void *in, void *out, size_t inlen, size_t outlen)
342 {
343 int ret;
344
> 345 ret = LZ4_compress_default(in, out, inlen, outlen, workspace);
346 if (ret) {
347 pr_err("lz4_compress error, ret = %d!\n", ret);
348 return -EIO;
349 }
350
351 return outlen;
352 }
353
354 static int decompress_lz4(void *in, void *out, size_t inlen, size_t outlen)
355 {
356 int ret;
357
> 358 ret = LZ4_decompress_safe(in, out, inlen, outlen);
359 if (ret) {
360 pr_err("lz4_decompress error, ret = %d!\n", ret);
361 return -EIO;
362 }
363
364 return outlen;
365 }
366
367 static void allocate_lz4(void)
368 {
> 369 big_oops_buf_sz = LZ4_compressBound(psinfo->bufsize);
370 big_oops_buf = kmalloc(big_oops_buf_sz, GFP_KERNEL);
371 if (big_oops_buf) {
372 workspace = kmalloc(LZ4_MEM_COMPRESS, GFP_KERNEL);
---
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" (23709 bytes)
Powered by blists - more mailing lists