From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 1824/2372] lib/memcat_p.c:10:8: warning: no previous prototype for '__memcat_p'
Date: Sat, 8 Jan 2022 15:29:40 +0800 [thread overview]
Message-ID: <202201081547.TX8B6yRX-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 67f8f45b4d0cf00f8e53fc1c2b50c67608ede063
commit: fdd4a8e803c246ee0751f572a078ffd97b73ba36 [1824/2372] headers/deps: smp: Optimize <linux/smp.h> dependencies, remove <linux/smp_api.h> inclusion
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220108/202201081547.TX8B6yRX-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=fdd4a8e803c246ee0751f572a078ffd97b73ba36
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout fdd4a8e803c246ee0751f572a078ffd97b73ba36
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
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 >>):
>> lib/memcat_p.c:10:8: warning: no previous prototype for '__memcat_p' [-Wmissing-prototypes]
10 | void **__memcat_p(void **a, void **b)
| ^~~~~~~~~~
vim +/__memcat_p +10 lib/memcat_p.c
93048c0944150b Alexander Shishkin 2018-10-16 4
93048c0944150b Alexander Shishkin 2018-10-16 5 /*
93048c0944150b Alexander Shishkin 2018-10-16 6 * Merge two NULL-terminated pointer arrays into a newly allocated
93048c0944150b Alexander Shishkin 2018-10-16 7 * array, which is also NULL-terminated. Nomenclature is inspired by
93048c0944150b Alexander Shishkin 2018-10-16 8 * memset_p() and memcat() found elsewhere in the kernel source tree.
93048c0944150b Alexander Shishkin 2018-10-16 9 */
93048c0944150b Alexander Shishkin 2018-10-16 @10 void **__memcat_p(void **a, void **b)
:::::: The code at line 10 was first introduced by commit
:::::: 93048c0944150b316a15f92c41a4d626c8df37fd lib: Fix ia64 bootloader linkage
:::::: TO: Alexander Shishkin <alexander.shishkin@linux.intel.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-08 7:29 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=202201081547.TX8B6yRX-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome