tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 31caf8b2a847214be856f843e251fc2ed2cd1075 commit: 5ceda74093a5c1c3f42a02b894df031f3bbc9af1 dma-direct: rename and cleanup __phys_to_dma date: 5 months ago config: mips-randconfig-r032-20210222 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) 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 # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5ceda74093a5c1c3f42a02b894df031f3bbc9af1 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 5ceda74093a5c1c3f42a02b894df031f3bbc9af1 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> All warnings (new ones prefixed by >>): >> arch/mips/pci/pci-ar2315.c:173:12: warning: no previous prototype for >> function 'phys_to_dma' [-Wmissing-prototypes] dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) ^ arch/mips/pci/pci-ar2315.c:173:1: note: declare 'static' if the function is not intended to be used outside of this translation unit dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) ^ static arch/mips/pci/pci-ar2315.c:178:13: warning: no previous prototype for function 'dma_to_phys' [-Wmissing-prototypes] phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) ^ arch/mips/pci/pci-ar2315.c:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) ^ static 2 warnings generated. vim +/phys_to_dma +173 arch/mips/pci/pci-ar2315.c 172 > 173 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) 174 { 175 return paddr + ar2315_dev_offset(dev); 176 } 177 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip