[Intel-gfx] [PATCH 2/3] drm/vma_manage: Drop has_offset

kbuild test robot lkp at intel.com
Thu Oct 22 10:41:09 PDT 2015


Hi Daniel,

[auto build test ERROR on drm/drm-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Daniel-Vetter/drm-Update-GEM-refcounting-docs/20151023-011317
config: i386-randconfig-s1-201542 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/vgem/vgem_drv.c: In function 'vgem_gem_dumb_map':
>> drivers/gpu/drm/vgem/vgem_drv.c:211:7: error: implicit declaration of function 'drm_vma_node_has_offset' [-Werror=implicit-function-declaration]
     if (!drm_vma_node_has_offset(&obj->vma_node)) {
          ^
   cc1: some warnings being treated as errors

vim +/drm_vma_node_has_offset +211 drivers/gpu/drm/vgem/vgem_drv.c

502e95c6 Zach Reizner 2015-03-04  205  	obj = drm_gem_object_lookup(dev, file, handle);
502e95c6 Zach Reizner 2015-03-04  206  	if (!obj) {
502e95c6 Zach Reizner 2015-03-04  207  		ret = -ENOENT;
502e95c6 Zach Reizner 2015-03-04  208  		goto unlock;
502e95c6 Zach Reizner 2015-03-04  209  	}
502e95c6 Zach Reizner 2015-03-04  210  
502e95c6 Zach Reizner 2015-03-04 @211  	if (!drm_vma_node_has_offset(&obj->vma_node)) {
502e95c6 Zach Reizner 2015-03-04  212  		ret = drm_gem_create_mmap_offset(obj);
502e95c6 Zach Reizner 2015-03-04  213  		if (ret)
502e95c6 Zach Reizner 2015-03-04  214  			goto unref;

:::::: The code at line 211 was first introduced by commit
:::::: 502e95c6678505474f1056480310cd9382bacbac drm/vgem: implement virtual GEM

:::::: TO: Zach Reizner <zachr at google.com>
:::::: CC: Dave Airlie <airlied at redhat.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 23181 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151023/4baa9e4f/attachment-0001.obj>


More information about the Intel-gfx mailing list