Re: [PATCH v5 2/8] iommu/dma: Introduce generic helper to retrieve RMR info
From: kernel test robot <hidden>
Date: 2021-05-24 17:08:21
Also in:
linux-acpi, linux-iommu, oe-kbuild-all
Hi Shameer, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on iommu/next] [also build test WARNING on pm/linux-next arm64/for-next/core linus/master v5.13-rc3 next-20210524] [cannot apply to xlnx/master arm/for-next soc/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Shameer-Kolothum/ACPI-IORT-Support-for-IORT-RMR-node/20210524-190633 base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next config: x86_64-randconfig-a013-20210524 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 93d1e5822ed64abd777eb94ea9899e96c4c39fbe) 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 x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://github.com/0day-ci/linux/commit/2c046e03beb7d64e0f7182d01a7dc63dce79c882 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Shameer-Kolothum/ACPI-IORT-Support-for-IORT-RMR-node/20210524-190633 git checkout 2c046e03beb7d64e0f7182d01a7dc63dce79c882 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All warnings (new ones prefixed by >>): In file included from drivers/vfio/vfio_iommu_type1.c:41:
quoted
include/linux/dma-iommu.h:90:5: warning: no previous prototype for function 'iommu_dma_get_rmrs' [-Wmissing-prototypes]
int iommu_dma_get_rmrs(struct fwnode_handle *iommu, struct list_head *list)
^
include/linux/dma-iommu.h:90:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int iommu_dma_get_rmrs(struct fwnode_handle *iommu, struct list_head *list)
^
static quoted
include/linux/dma-iommu.h:95:6: warning: no previous prototype for function 'iommu_dma_put_rmrs' [-Wmissing-prototypes]
void iommu_dma_put_rmrs(struct fwnode_handle *iommu, struct list_head *list)
^
include/linux/dma-iommu.h:95:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void iommu_dma_put_rmrs(struct fwnode_handle *iommu, struct list_head *list)
^
static
2 warnings generated.
vim +/iommu_dma_get_rmrs +90 include/linux/dma-iommu.h
89
> 90 int iommu_dma_get_rmrs(struct fwnode_handle *iommu, struct list_head *list)
91 {
92 return -ENODEV;
93 }
94
> 95 void iommu_dma_put_rmrs(struct fwnode_handle *iommu, struct list_head *list)
96 {
97 }
98
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 38444 bytes
- (unnamed) [text/plain] 176 bytes · preview