[powerpc:next-test 116/124] arch/powerpc/lib/restart_table.c:13:15: warning: no previous prototype for 'search_kernel_restart_table'

kernel test robot lkp at intel.com
Wed Jun 16 04:42:39 AEST 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test
head:   103bf32b0d2dd8b8a4d3d9ebdded5ba4e8263e6a
commit: 9d1e5f27172b011ed4d07c92c304fa60caef03ff [116/124] powerpc/64: allow alternate return locations for soft-masked interrupts
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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=9d1e5f27172b011ed4d07c92c304fa60caef03ff
        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 9d1e5f27172b011ed4d07c92c304fa60caef03ff
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

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

All warnings (new ones prefixed by >>):

>> arch/powerpc/lib/restart_table.c:13:15: warning: no previous prototype for 'search_kernel_restart_table' [-Wmissing-prototypes]
      13 | unsigned long search_kernel_restart_table(unsigned long addr)
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/search_kernel_restart_table +13 arch/powerpc/lib/restart_table.c

    11	
    12	/* Given an address, look for it in the kernel exception table */
  > 13	unsigned long search_kernel_restart_table(unsigned long addr)

---
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: 73399 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20210616/94cd3e78/attachment-0001.gz>


More information about the Linuxppc-dev mailing list