[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204240410.f0TrdLMQ-lkp@intel.com>
Date: Sun, 24 Apr 2022 04:24:31 +0800
From: kernel test robot <lkp@...el.com>
To: Jim Quinlan <jim2101024@...il.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Subject: arch/mips/bmips/dma.c:7:6: warning: no previous prototype for
'arch_sync_dma_for_cpu_all'
Hi Jim,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 13bc32bad7059d6c5671e9d037e6e3ed001cc0f4
commit: d552ddeaab4a15a8dc157ac007833aa0b3706862 MIPS: bmips: Remove obsolete DMA mapping support
date: 3 months ago
config: mips-bmips_be_defconfig (https://download.01.org/0day-ci/archive/20220424/202204240410.f0TrdLMQ-lkp@intel.com/config)
compiler: mips-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d552ddeaab4a15a8dc157ac007833aa0b3706862
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d552ddeaab4a15a8dc157ac007833aa0b3706862
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/bmips/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> arch/mips/bmips/dma.c:7:6: warning: no previous prototype for 'arch_sync_dma_for_cpu_all' [-Wmissing-prototypes]
7 | void arch_sync_dma_for_cpu_all(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/arch_sync_dma_for_cpu_all +7 arch/mips/bmips/dma.c
d666cd0246f78bd arch/mips/bcm3384/dma.c Kevin Cernekee 2014-10-20 6
56e35f9c5b87ec1 arch/mips/bmips/dma.c Christoph Hellwig 2019-11-07 @7 void arch_sync_dma_for_cpu_all(void)
:::::: The code at line 7 was first introduced by commit
:::::: 56e35f9c5b87ec1ae93e483284e189c84388de16 dma-mapping: drop the dev argument to arch_sync_dma_for_*
:::::: TO: Christoph Hellwig <hch@....de>
:::::: CC: Christoph Hellwig <hch@....de>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists