linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] drm/i915: Use generic_access_phys
       [not found] <20210526151106.3390006-1-daniel.vetter@ffwll.ch>
@ 2021-05-26 18:54 ` kernel test robot
  2021-05-26 20:33 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-26 18:54 UTC (permalink / raw)
  To: Daniel Vetter, Intel Graphics Development
  Cc: kbuild-all, Thomas Hellström, Daniel Vetter,
	DRI Development, Chris Wilson, Jon Bloomfield, Andrew Morton,
	Linux Memory Management List, Michel Lespinasse,
	Christian König

[-- Attachment #1: Type: text/plain, Size: 2419 bytes --]

Hi Daniel,

I love your 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.13-rc3 next-20210526]
[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/Daniel-Vetter/drm-i915-Use-generic_access_phys/20210526-231425
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-a001-20210526 (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/80157be9e8542ce9a835e6f159408b951590b578
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Daniel-Vetter/drm-i915-Use-generic_access_phys/20210526-231425
        git checkout 80157be9e8542ce9a835e6f159408b951590b578
        # 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@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gem/i915_gem_mman.c:755:2: error: request for member 'open' in something not a structure or union
     755 |  .open = vm_open,
         |  ^
   drivers/gpu/drm/i915/gem/i915_gem_mman.c:764:2: error: request for member 'open' in something not a structure or union
     764 |  .open = vm_open,
         |  ^


vim +/open +755 drivers/gpu/drm/i915/gem/i915_gem_mman.c

cc662126b4134e2 Abdiel Janulgue 2019-12-04  749  
cc662126b4134e2 Abdiel Janulgue 2019-12-04  750  static const struct vm_operations_struct vm_ops_gtt = {
cc662126b4134e2 Abdiel Janulgue 2019-12-04  751  	.fault = vm_fault_gtt,
80157be9e8542ce Daniel Vetter   2021-05-26  752  #ifdef CONFIG_HAVE_IOREMAP_PROT
80157be9e8542ce Daniel Vetter   2021-05-26  753  	.access = generic_access_phys
80157be9e8542ce Daniel Vetter   2021-05-26  754  #endif
cc662126b4134e2 Abdiel Janulgue 2019-12-04 @755  	.open = vm_open,
cc662126b4134e2 Abdiel Janulgue 2019-12-04  756  	.close = vm_close,
cc662126b4134e2 Abdiel Janulgue 2019-12-04  757  };
cc662126b4134e2 Abdiel Janulgue 2019-12-04  758  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40661 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/i915: Use generic_access_phys
       [not found] <20210526151106.3390006-1-daniel.vetter@ffwll.ch>
  2021-05-26 18:54 ` [PATCH] drm/i915: Use generic_access_phys kernel test robot
@ 2021-05-26 20:33 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-26 20:33 UTC (permalink / raw)
  To: Daniel Vetter, Intel Graphics Development
  Cc: kbuild-all, clang-built-linux, Thomas Hellström,
	Daniel Vetter, DRI Development, Chris Wilson, Jon Bloomfield,
	Andrew Morton, Linux Memory Management List, Michel Lespinasse,
	Christian König

[-- Attachment #1: Type: text/plain, Size: 2930 bytes --]

Hi Daniel,

I love your 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.13-rc3 next-20210526]
[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/Daniel-Vetter/drm-i915-Use-generic_access_phys/20210526-231425
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-r025-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
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/80157be9e8542ce9a835e6f159408b951590b578
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Daniel-Vetter/drm-i915-Use-generic_access_phys/20210526-231425
        git checkout 80157be9e8542ce9a835e6f159408b951590b578
        # 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 <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gem/i915_gem_mman.c:755:2: error: member reference base type 'int (struct vm_area_struct *, unsigned long, void *, int, int)' is not a structure or union
           .open = vm_open,
           ^~~~~
   drivers/gpu/drm/i915/gem/i915_gem_mman.c:764:2: error: member reference base type 'int (struct vm_area_struct *, unsigned long, void *, int, int)' is not a structure or union
           .open = vm_open,
           ^~~~~
   2 errors generated.


vim +755 drivers/gpu/drm/i915/gem/i915_gem_mman.c

cc662126b4134e2 Abdiel Janulgue 2019-12-04  749  
cc662126b4134e2 Abdiel Janulgue 2019-12-04  750  static const struct vm_operations_struct vm_ops_gtt = {
cc662126b4134e2 Abdiel Janulgue 2019-12-04  751  	.fault = vm_fault_gtt,
80157be9e8542ce Daniel Vetter   2021-05-26  752  #ifdef CONFIG_HAVE_IOREMAP_PROT
80157be9e8542ce Daniel Vetter   2021-05-26  753  	.access = generic_access_phys
80157be9e8542ce Daniel Vetter   2021-05-26  754  #endif
cc662126b4134e2 Abdiel Janulgue 2019-12-04 @755  	.open = vm_open,
cc662126b4134e2 Abdiel Janulgue 2019-12-04  756  	.close = vm_close,
cc662126b4134e2 Abdiel Janulgue 2019-12-04  757  };
cc662126b4134e2 Abdiel Janulgue 2019-12-04  758  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38291 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-26 20:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210526151106.3390006-1-daniel.vetter@ffwll.ch>
2021-05-26 18:54 ` [PATCH] drm/i915: Use generic_access_phys kernel test robot
2021-05-26 20:33 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox