[xiang-linux:erofs/lzma 8/8] fs/erofs/decompressor-lzma.c:140:5: warning: no previous prototype for 'z_erofs_lzma_decompress'

From: kernel test robot
Date: Sun Jul 11 2021 - 10:37:46 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git erofs/lzma
head: 7b0fd4b18c0c2228c19a84736441fced1bbf0dd6
commit: 7b0fd4b18c0c2228c19a84736441fced1bbf0dd6 [8/8] erofs: lzma compression support
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git/commit/?id=7b0fd4b18c0c2228c19a84736441fced1bbf0dd6
git remote add xiang-linux https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git
git fetch --no-tags xiang-linux erofs/lzma
git checkout 7b0fd4b18c0c2228c19a84736441fced1bbf0dd6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> fs/erofs/decompressor-lzma.c:140:5: warning: no previous prototype for 'z_erofs_lzma_decompress' [-Wmissing-prototypes]
140 | int z_erofs_lzma_decompress(struct z_erofs_decompress_req *rq,
| ^~~~~~~~~~~~~~~~~~~~~~~


vim +/z_erofs_lzma_decompress +140 fs/erofs/decompressor-lzma.c

139
> 140 int z_erofs_lzma_decompress(struct z_erofs_decompress_req *rq,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip