Hi Mullati, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-tip/drm-tip v5.16-rc1 next-20211118] [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/Mullati-Siva/drm-i915-Skip-remap_io-calls-for-non-x86-platforms/20211118-191629 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-allyesconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/3cc867f614222b682fb1f739ff6db5133d9352ad git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Mullati-Siva/drm-i915-Skip-remap_io-calls-for-non-x86-platforms/20211118-191629 git checkout 3cc867f614222b682fb1f739ff6db5133d9352ad # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from <command-line>: drivers/gpu/drm/i915/i915_mm.h:12:29: error: 'struct io_mapping' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 12 | struct io_mapping *iomap); | ^~~~~~~~~~ drivers/gpu/drm/i915/i915_mm.h:10:29: error: 'struct vm_area_struct' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 10 | int remap_io_mapping(struct vm_area_struct *vma, | ^~~~~~~~~~~~~~ >> drivers/gpu/drm/i915/i915_mm.h:15:42: error: unknown type name 'resource_size_t' 15 | struct scatterlist *sgl, resource_size_t iobase); | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/resource_size_t +15 drivers/gpu/drm/i915/i915_mm.h 8 9 #if IS_ENABLED(CONFIG_X86) 10 int remap_io_mapping(struct vm_area_struct *vma, 11 unsigned long addr, unsigned long pfn, unsigned long size, 12 struct io_mapping *iomap); 13 int remap_io_sg(struct vm_area_struct *vma, 14 unsigned long addr, unsigned long size, > 15 struct scatterlist *sgl, resource_size_t iobase); 16 #else 17 static inline int remap_io_mapping(struct vm_area_struct *vma, 18 unsigned long addr, unsigned long pfn, unsigned long size, 19 struct io_mapping *iomap) 20 { 21 return 0; 22 } 23 static inline int remap_io_sg(struct vm_area_struct *vma, 24 unsigned long addr, unsigned long size, 25 struct scatterlist *sgl, resource_size_t iobase) 26 { 27 return 0; 28 } 29 #endif 30 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip