From: kernel test robot <lkp@intel.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: kbuild-all@lists.01.org,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
linux-kernel@vger.kernel.org,
Michael Ellerman <mpe@ellerman.id.au>
Subject: [ammarfaizi2-block:powerpc/linux/next-test 142/143] arch/powerpc/kernel/prom_init.c:3302:22: error: no previous prototype for 'prom_init'
Date: Tue, 8 Mar 2022 19:12:29 +0800 [thread overview]
Message-ID: <202203081921.SpUkNaaj-lkp@intel.com> (raw)
tree: https://github.com/ammarfaizi2/linux-block powerpc/linux/next-test
head: 0a448e06d10e149bf5ed23202d49246b6c4cf77b
commit: 21dad3fa76176d992e8ddf3f49ad0866a5424da5 [142/143] powerpc: Move C prototypes out of asm-prototypes.h
config: powerpc64-randconfig-s031-20220307 (https://download.01.org/0day-ci/archive/20220308/202203081921.SpUkNaaj-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/ammarfaizi2/linux-block/commit/21dad3fa76176d992e8ddf3f49ad0866a5424da5
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block powerpc/linux/next-test
git checkout 21dad3fa76176d992e8ddf3f49ad0866a5424da5
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/powerpc/kernel/prom_init.c:3302:22: error: no previous prototype for 'prom_init' [-Werror=missing-prototypes]
3302 | unsigned long __init prom_init(unsigned long r3, unsigned long r4,
| ^~~~~~~~~
cc1: all warnings being treated as errors
vim +/prom_init +3302 arch/powerpc/kernel/prom_init.c
6a9c930bd7751b Ram Pai 2019-08-19 3296
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3297 /*
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3298 * We enter here early on, when the Open Firmware prom is still
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3299 * handling exceptions and the MMU hash table for us.
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3300 */
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3301
9b6b563c0d2d25 Paul Mackerras 2005-10-06 @3302 unsigned long __init prom_init(unsigned long r3, unsigned long r4,
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3303 unsigned long pp,
549e8152de8039 Paul Mackerras 2008-08-30 3304 unsigned long r6, unsigned long r7,
549e8152de8039 Paul Mackerras 2008-08-30 3305 unsigned long kbase)
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3306 {
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3307 unsigned long hdr;
9b6b563c0d2d25 Paul Mackerras 2005-10-06 3308
:::::: The code at line 3302 was first introduced by commit
:::::: 9b6b563c0d2d25ecc3111916031aa7255543fbfb powerpc: Merge in the ppc64 version of the prom code.
:::::: TO: Paul Mackerras <paulus@samba.org>
:::::: CC: Paul Mackerras <paulus@samba.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-03-08 11:13 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=202203081921.SpUkNaaj-lkp@intel.com \
--to=lkp@intel.com \
--cc=christophe.leroy@csgroup.eu \
--cc=gwml@vger.gnuweeb.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpe@ellerman.id.au \
/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