From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [kees:kspp/memcpy/next-20210618/v0.192314 57/90] arch/arm/boot/compressed/misc.c:164:6: warning: no previous prototype for 'fortify_warn_write'
Date: Mon, 21 Jun 2021 04:39:06 +0800 [thread overview]
Message-ID: <202106210401.yB8IXH9q-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2632 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git kspp/memcpy/next-20210618/v0.192314
head: bbcfcdcf3881ef6f9ae1b1b8e0ddf03da30c5aad
commit: 37bd2f986fbed8a837e7657c7a44d588e79c5aad [57/90] fortify: Detect struct member overflows in memcpy()
config: arm-spear13xx_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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/kees/linux.git/commit/?id=37bd2f986fbed8a837e7657c7a44d588e79c5aad
git remote add kees https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
git fetch --no-tags kees kspp/memcpy/next-20210618/v0.192314
git checkout 37bd2f986fbed8a837e7657c7a44d588e79c5aad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
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/arm/boot/compressed/misc.c:126:17: warning: no previous prototype for '__div0' [-Wmissing-prototypes]
126 | asmlinkage void __div0(void)
| ^~~~~~
arch/arm/boot/compressed/misc.c:133:6: warning: no previous prototype for '__stack_chk_fail' [-Wmissing-prototypes]
133 | void __stack_chk_fail(void)
| ^~~~~~~~~~~~~~~~
arch/arm/boot/compressed/misc.c:142:1: warning: no previous prototype for 'decompress_kernel' [-Wmissing-prototypes]
142 | decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p,
| ^~~~~~~~~~~~~~~~~
>> arch/arm/boot/compressed/misc.c:164:6: warning: no previous prototype for 'fortify_warn_write' [-Wmissing-prototypes]
164 | void fortify_warn_write(const char *func, size_t buffer_size, size_t write_size)
| ^~~~~~~~~~~~~~~~~~
arch/arm/boot/compressed/misc.c:169:6: warning: no previous prototype for 'fortify_panic' [-Wmissing-prototypes]
169 | void fortify_panic(const char *name)
| ^~~~~~~~~~~~~
vim +/fortify_warn_write +164 arch/arm/boot/compressed/misc.c
163
> 164 void fortify_warn_write(const char *func, size_t buffer_size, size_t write_size)
165 {
166 putstr("warning: detected buffer overflow\n");
167 }
168
---
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: 21416 bytes --]
reply other threads:[~2021-06-20 20:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202106210401.yB8IXH9q-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.