[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203200545.zUPhx82w-lkp@intel.com>
Date: Sun, 20 Mar 2022 05:35:34 +0800
From: kernel test robot <lkp@...el.com>
To: Lauri Kasanen <cand@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Subject: arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:506:5:
warning: no previous prototype for 'LZ4_decompress_safe_forceExtDict'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 34e047aa16c0123bbae8e2f6df33e5ecc1f56601
commit: baec970aa5ba11099ad7a91773350c91fb2113f0 mips: Add N64 machine type
date: 1 year, 2 months ago
config: mips-randconfig-r001-20220319 (https://download.01.org/0day-ci/archive/20220320/202203200545.zUPhx82w-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=baec970aa5ba11099ad7a91773350c91fb2113f0
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout baec970aa5ba11099ad7a91773350c91fb2113f0
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
arch/mips/boot/compressed/decompress.c:38:6: warning: no previous prototype for 'error' [-Wmissing-prototypes]
38 | void error(char *x)
| ^~~~~
In file included from arch/mips/boot/compressed/../../../../lib/decompress_unlz4.c:10,
from arch/mips/boot/compressed/decompress.c:60:
arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:484:5: warning: no previous prototype for 'LZ4_decompress_safe_withPrefix64k' [-Wmissing-prototypes]
484 | int LZ4_decompress_safe_withPrefix64k(const char *source, char *dest,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:506:5: warning: no previous prototype for 'LZ4_decompress_safe_forceExtDict' [-Wmissing-prototypes]
506 | int LZ4_decompress_safe_forceExtDict(const char *source, char *dest,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/boot/compressed/decompress.c:81:6: warning: no previous prototype for '__stack_chk_fail' [-Wmissing-prototypes]
81 | void __stack_chk_fail(void)
| ^~~~~~~~~~~~~~~~
arch/mips/boot/compressed/decompress.c:86:6: warning: no previous prototype for 'decompress_kernel' [-Wmissing-prototypes]
86 | void decompress_kernel(unsigned long boot_heap_start)
| ^~~~~~~~~~~~~~~~~
vim +/LZ4_decompress_safe_forceExtDict +506 arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c
cffb78b0e0b3a3 Kyungsik Lee 2013-07-08 505
2209fda323e2fd Gao Xiang 2018-10-30 @506 int LZ4_decompress_safe_forceExtDict(const char *source, char *dest,
2209fda323e2fd Gao Xiang 2018-10-30 507 int compressedSize, int maxOutputSize,
2209fda323e2fd Gao Xiang 2018-10-30 508 const void *dictStart, size_t dictSize)
2209fda323e2fd Gao Xiang 2018-10-30 509 {
2209fda323e2fd Gao Xiang 2018-10-30 510 return LZ4_decompress_generic(source, dest,
2209fda323e2fd Gao Xiang 2018-10-30 511 compressedSize, maxOutputSize,
2209fda323e2fd Gao Xiang 2018-10-30 512 endOnInputSize, decode_full_block,
2209fda323e2fd Gao Xiang 2018-10-30 513 usingExtDict, (BYTE *)dest,
2209fda323e2fd Gao Xiang 2018-10-30 514 (const BYTE *)dictStart, dictSize);
2209fda323e2fd Gao Xiang 2018-10-30 515 }
2209fda323e2fd Gao Xiang 2018-10-30 516
:::::: The code at line 506 was first introduced by commit
:::::: 2209fda323e2fd2a2d0885595fd5097717f8d2aa lib/lz4: update LZ4 decompressor module
:::::: TO: Gao Xiang <gaoxiang25@...wei.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists