[powerpc:next-test 68/159] arch/powerpc/platforms/amigaone/setup.c:73:13: error: no previous prototype for 'amigaone_discover_phbs'

kernel test robot lkp at intel.com
Wed Feb 10 13:27:59 AEDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test
head:   5811244192fc4e18c001c69300044c2acf30bd91
commit: 053d58c870298d62b9c5154672ef2f1684c4ea43 [68/159] powerpc/amigaone: Move PHB discovery
config: powerpc64-randconfig-r036-20210209 (attached as .config)
compiler: powerpc-linux-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/powerpc/linux.git/commit/?id=053d58c870298d62b9c5154672ef2f1684c4ea43
        git remote add powerpc https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
        git fetch --no-tags powerpc next-test
        git checkout 053d58c870298d62b9c5154672ef2f1684c4ea43
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   arch/powerpc/platforms/amigaone/setup.c:27:6: error: no previous prototype for 'amigaone_show_cpuinfo' [-Werror=missing-prototypes]
      27 | void amigaone_show_cpuinfo(struct seq_file *m)
         |      ^~~~~~~~~~~~~~~~~~~~~
   arch/powerpc/platforms/amigaone/setup.c:67:13: error: no previous prototype for 'amigaone_setup_arch' [-Werror=missing-prototypes]
      67 | void __init amigaone_setup_arch(void)
         |             ^~~~~~~~~~~~~~~~~~~
>> arch/powerpc/platforms/amigaone/setup.c:73:13: error: no previous prototype for 'amigaone_discover_phbs' [-Werror=missing-prototypes]
      73 | void __init amigaone_discover_phbs(void)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   arch/powerpc/platforms/amigaone/setup.c:85:13: error: no previous prototype for 'amigaone_init_IRQ' [-Werror=missing-prototypes]
      85 | void __init amigaone_init_IRQ(void)
         |             ^~~~~~~~~~~~~~~~~
   arch/powerpc/platforms/amigaone/setup.c:125:17: error: no previous prototype for 'amigaone_restart' [-Werror=missing-prototypes]
     125 | void __noreturn amigaone_restart(char *cmd)
         |                 ^~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/amigaone_discover_phbs +73 arch/powerpc/platforms/amigaone/setup.c

    72	
  > 73	void __init amigaone_discover_phbs(void)
    74	{
    75		struct device_node *np;
    76		int phb = -ENODEV;
    77	
    78		/* Lookup PCI host bridges. */
    79		for_each_compatible_node(np, "pci", "mai-logic,articia-s")
    80			phb = amigaone_add_bridge(np);
    81	
    82		BUG_ON(phb != 0);
    83	}
    84	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 24372 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20210210/d34f53d9/attachment-0001.gz>


More information about the Linuxppc-dev mailing list