[Intel-gfx] [drm-intel:topic/drm-misc 38/38] drivers/gpu/drm/vgem/vgem_drv.c:249:9: error: implicit declaration of function 'drm_vma_offset_exact_lookup'
kbuild test robot
fengguang.wu at intel.com
Thu Oct 15 05:19:26 PDT 2015
tree: git://anongit.freedesktop.org/drm-intel topic/drm-misc
head: 0f3609e5b5c53ed52b8e82993cbda72806ef9c69
commit: 0f3609e5b5c53ed52b8e82993cbda72806ef9c69 [38/38] drm/gem: Use kref_get_unless_zero for the weak mmap references
config: i386-randconfig-s0-201541 (attached as .config)
reproduce:
git checkout 0f3609e5b5c53ed52b8e82993cbda72806ef9c69
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/vgem/vgem_drv.c: In function 'vgem_drm_gem_mmap':
>> drivers/gpu/drm/vgem/vgem_drv.c:249:9: error: implicit declaration of function 'drm_vma_offset_exact_lookup' [-Werror=implicit-function-declaration]
node = drm_vma_offset_exact_lookup(dev->vma_offset_manager,
^
>> drivers/gpu/drm/vgem/vgem_drv.c:249:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
node = drm_vma_offset_exact_lookup(dev->vma_offset_manager,
^
cc1: some warnings being treated as errors
vim +/drm_vma_offset_exact_lookup +249 drivers/gpu/drm/vgem/vgem_drv.c
502e95c6 Zach Reizner 2015-03-04 243 struct drm_gem_object *obj;
502e95c6 Zach Reizner 2015-03-04 244 struct drm_vgem_gem_object *vgem_obj;
502e95c6 Zach Reizner 2015-03-04 245 int ret = 0;
502e95c6 Zach Reizner 2015-03-04 246
502e95c6 Zach Reizner 2015-03-04 247 mutex_lock(&dev->struct_mutex);
502e95c6 Zach Reizner 2015-03-04 248
502e95c6 Zach Reizner 2015-03-04 @249 node = drm_vma_offset_exact_lookup(dev->vma_offset_manager,
502e95c6 Zach Reizner 2015-03-04 250 vma->vm_pgoff,
502e95c6 Zach Reizner 2015-03-04 251 vma_pages(vma));
502e95c6 Zach Reizner 2015-03-04 252 if (!node) {
:::::: The code at line 249 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: 30783 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151015/97e75f57/attachment-0001.obj>
More information about the Intel-gfx
mailing list