GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
* [ammarfaizi2-block:powerpc/linux/next-test 142/143] arch/powerpc/kernel/prom_init.c:3302:22: warning: no previous prototype for 'prom_init'
@ 2022-03-08  9:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-08  9:50 UTC (permalink / raw)
  To: Christophe Leroy
  Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Michael Ellerman

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: powerpc-randconfig-r014-20220308 (https://download.01.org/0day-ci/archive/20220308/[email protected]/config)
compiler: powerpc-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://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 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/kernel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

>> arch/powerpc/kernel/prom_init.c:3302:22: warning: no previous prototype for 'prom_init' [-Wmissing-prototypes]
    3302 | unsigned long __init prom_init(unsigned long r3, unsigned long r4,
         |                      ^~~~~~~~~


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 <[email protected]>
:::::: CC: Paul Mackerras <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-08  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-08  9:50 [ammarfaizi2-block:powerpc/linux/next-test 142/143] arch/powerpc/kernel/prom_init.c:3302:22: warning: no previous prototype for 'prom_init' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox