linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linuxppc:next-test 75/91] arch/powerpc/kernel/prom_parse.c:10:6: error: no previous prototype for 'of_parse_dma_window'
@ 2022-05-06  3:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-06  3:57 UTC (permalink / raw)
  To: Christophe Leroy; +Cc: kbuild-all, linux-kernel, Michael Ellerman

tree:   https://github.com/linuxppc/linux next-test
head:   1d8abffc14aef88bfe1ad036084070af62f30c03
commit: 34fa52eec206db38399dc9b54f2da2eed4fdad5e [75/91] powerpc: Remove asm/prom.h from all files that don't need it
config: powerpc-mpc837x_rdb_defconfig (https://download.01.org/0day-ci/archive/20220506/202205061125.ClTxwfOg-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.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://github.com/linuxppc/linux/commit/34fa52eec206db38399dc9b54f2da2eed4fdad5e
        git remote add linuxppc https://github.com/linuxppc/linux
        git fetch --no-tags linuxppc next-test
        git checkout 34fa52eec206db38399dc9b54f2da2eed4fdad5e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash

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_parse.c:10:6: error: no previous prototype for 'of_parse_dma_window' [-Werror=missing-prototypes]
      10 | void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
         |      ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/of_parse_dma_window +10 arch/powerpc/kernel/prom_parse.c

83efafb301bc79 Andy Fleming    2006-10-16   9  
2083f681e38983 Anton Blanchard 2013-08-07 @10  void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,

:::::: The code at line 10 was first introduced by commit
:::::: 2083f681e3898394dcf5fb3285bb385e21facb9a powerpc: of_parse_dma_window should take a __be32 *dma_window

:::::: TO: Anton Blanchard <anton@samba.org>
:::::: CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-05-06  3:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06  3:57 [linuxppc:next-test 75/91] arch/powerpc/kernel/prom_parse.c:10:6: error: no previous prototype for 'of_parse_dma_window' 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;
as well as URLs for NNTP newsgroup(s).