From: kernel test robot <lkp@intel.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Mark Brown <broonie@kernel.org>,
Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>,
Matti Vaittinen <mazziesaccount@gmail.com>
Subject: arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:506:5: warning: no previous prototype for 'LZ4_decompress_safe_forceExtDict'
Date: Thu, 11 Nov 2021 04:45:00 +0800 [thread overview]
Message-ID: <202111110449.3It8v0N8-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3942 bytes --]
Hi Randy,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89d714ab6043bca7356b5c823f5335f5dce1f930
commit: 5ba3747dbc9ade2d22a8f5bff3c928cb41d35030 regulator: bd71815: add select to fix build
date: 6 months ago
config: mips-randconfig-r015-20211012 (attached as .config)
compiler: mipsel-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=5ba3747dbc9ade2d22a8f5bff3c928cb41d35030
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 5ba3747dbc9ade2d22a8f5bff3c928cb41d35030
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/mips/boot/compressed/decompress.c:40:6: warning: no previous prototype for 'error' [-Wmissing-prototypes]
40 | void error(char *x)
| ^~~~~
In file included from arch/mips/boot/compressed/../../../../lib/decompress_unlz4.c:10,
from arch/mips/boot/compressed/decompress.c:62:
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:83:6: warning: no previous prototype for '__stack_chk_fail' [-Wmissing-prototypes]
83 | void __stack_chk_fail(void)
| ^~~~~~~~~~~~~~~~
arch/mips/boot/compressed/decompress.c:88:6: warning: no previous prototype for 'decompress_kernel' [-Wmissing-prototypes]
88 | void decompress_kernel(unsigned long boot_heap_start)
| ^~~~~~~~~~~~~~~~~
vim +/LZ4_decompress_safe_forceExtDict +506 arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c
cffb78b0e0b3a30 Kyungsik Lee 2013-07-08 505
2209fda323e2fd2 Gao Xiang 2018-10-30 @506 int LZ4_decompress_safe_forceExtDict(const char *source, char *dest,
2209fda323e2fd2 Gao Xiang 2018-10-30 507 int compressedSize, int maxOutputSize,
2209fda323e2fd2 Gao Xiang 2018-10-30 508 const void *dictStart, size_t dictSize)
2209fda323e2fd2 Gao Xiang 2018-10-30 509 {
2209fda323e2fd2 Gao Xiang 2018-10-30 510 return LZ4_decompress_generic(source, dest,
2209fda323e2fd2 Gao Xiang 2018-10-30 511 compressedSize, maxOutputSize,
2209fda323e2fd2 Gao Xiang 2018-10-30 512 endOnInputSize, decode_full_block,
2209fda323e2fd2 Gao Xiang 2018-10-30 513 usingExtDict, (BYTE *)dest,
2209fda323e2fd2 Gao Xiang 2018-10-30 514 (const BYTE *)dictStart, dictSize);
2209fda323e2fd2 Gao Xiang 2018-10-30 515 }
2209fda323e2fd2 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@huawei.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25338 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:506:5: warning: no previous prototype for 'LZ4_decompress_safe_forceExtDict'
Date: Thu, 11 Nov 2021 04:45:00 +0800 [thread overview]
Message-ID: <202111110449.3It8v0N8-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4012 bytes --]
Hi Randy,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89d714ab6043bca7356b5c823f5335f5dce1f930
commit: 5ba3747dbc9ade2d22a8f5bff3c928cb41d35030 regulator: bd71815: add select to fix build
date: 6 months ago
config: mips-randconfig-r015-20211012 (attached as .config)
compiler: mipsel-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=5ba3747dbc9ade2d22a8f5bff3c928cb41d35030
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 5ba3747dbc9ade2d22a8f5bff3c928cb41d35030
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/mips/boot/compressed/decompress.c:40:6: warning: no previous prototype for 'error' [-Wmissing-prototypes]
40 | void error(char *x)
| ^~~~~
In file included from arch/mips/boot/compressed/../../../../lib/decompress_unlz4.c:10,
from arch/mips/boot/compressed/decompress.c:62:
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:83:6: warning: no previous prototype for '__stack_chk_fail' [-Wmissing-prototypes]
83 | void __stack_chk_fail(void)
| ^~~~~~~~~~~~~~~~
arch/mips/boot/compressed/decompress.c:88:6: warning: no previous prototype for 'decompress_kernel' [-Wmissing-prototypes]
88 | void decompress_kernel(unsigned long boot_heap_start)
| ^~~~~~~~~~~~~~~~~
vim +/LZ4_decompress_safe_forceExtDict +506 arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c
cffb78b0e0b3a30 Kyungsik Lee 2013-07-08 505
2209fda323e2fd2 Gao Xiang 2018-10-30 @506 int LZ4_decompress_safe_forceExtDict(const char *source, char *dest,
2209fda323e2fd2 Gao Xiang 2018-10-30 507 int compressedSize, int maxOutputSize,
2209fda323e2fd2 Gao Xiang 2018-10-30 508 const void *dictStart, size_t dictSize)
2209fda323e2fd2 Gao Xiang 2018-10-30 509 {
2209fda323e2fd2 Gao Xiang 2018-10-30 510 return LZ4_decompress_generic(source, dest,
2209fda323e2fd2 Gao Xiang 2018-10-30 511 compressedSize, maxOutputSize,
2209fda323e2fd2 Gao Xiang 2018-10-30 512 endOnInputSize, decode_full_block,
2209fda323e2fd2 Gao Xiang 2018-10-30 513 usingExtDict, (BYTE *)dest,
2209fda323e2fd2 Gao Xiang 2018-10-30 514 (const BYTE *)dictStart, dictSize);
2209fda323e2fd2 Gao Xiang 2018-10-30 515 }
2209fda323e2fd2 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@huawei.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25338 bytes --]
next reply other threads:[~2021-11-10 20:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-10 20:45 kernel test robot [this message]
2021-11-10 20:45 ` arch/mips/boot/compressed/../../../../lib/lz4/lz4_decompress.c:506:5: warning: no previous prototype for 'LZ4_decompress_safe_forceExtDict' kernel test robot
2022-03-19 21:35 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111110449.3It8v0N8-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=mazziesaccount@gmail.com \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.