Re: [PATCH 2/3] fs/pstore: fs/squashfs: Change lz4 compressor functions to work with new version

From: kbuild test robot
Date: Wed Dec 21 2016 - 00:11:20 EST


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-x004-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/squashfs/lz4_wrapper.c: In function 'lz4_uncompress':
>> fs/squashfs/lz4_wrapper.c:111:8: error: implicit declaration of function 'LZ4_decompress_safe' [-Werror=implicit-function-declaration]
res = LZ4_decompress_safe(stream->input, stream->output, length, (int)dest_len);
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/LZ4_decompress_safe +111 fs/squashfs/lz4_wrapper.c

105 buff += avail;
106 bytes -= avail;
107 offset = 0;
108 put_bh(bh[i]);
109 }
110
> 111 res = LZ4_decompress_safe(stream->input, stream->output, length, (int)dest_len);
112 if (res)
113 return -EIO;
114

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

Attachment: .config.gz
Description: application/gzip