Hi Ajay,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on iommu/next]
[also build test ERROR on linux/master soc/for-next linus/master v5.8 next-20200810]
[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/Ajay-Kumar/dma-iommu-allow-devic...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: i386-randconfig-a004-20200810 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/intel-iommu.h:19,
from drivers/gpu/drm/i915/i915_drv.h:41,
from drivers/gpu/drm/i915/display/intel_display_types.h:45,
from <command-line>:
> include/linux/iommu.h:832:12: error:
'iommu_group_device_count_from_dev' defined but not used [-Werror=unused-function]
832 | static int iommu_group_device_count_from_dev(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/intel-iommu.h:14,
from drivers/gpu/drm/i915/i915_drv.h:41,
from drivers/gpu/drm/i915/display/intel_display_types.h:45,
from <command-line>:
include/linux/iova.h:275:12: error: 'iommu_set_iova_range' defined but not used
[-Werror=unused-function]
275 | static int iommu_set_iova_range(struct device *dev, dma_addr_t base, u64 size)
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from include/linux/vfio.h:12,
from drivers/gpu/drm/i915/gvt/dmabuf.h:33,
from <command-line>:
> include/linux/iommu.h:832:12: error:
'iommu_group_device_count_from_dev' defined but not used [-Werror=unused-function]
832 | static int iommu_group_device_count_from_dev(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/iommu_group_device_count_from_dev +832 include/linux/iommu.h
831
832 static int iommu_group_device_count_from_dev(struct device *dev)
833 {
834 return 0;
835 }
836
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org