Hi Nick,

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

url:    
https://github.com/0day-ci/linux/commits/Nick-Hoath/lrc-lifecycle-cleanups/20151020-173347
config: i386-randconfig-x009-10191220 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'i915_vma_bind':
>> drivers/gpu/drm/i915/i915_gem_gtt.c:3523:4: warning: ignoring return value 
>> of 'i915_vma_unbind', declared with attribute warn_unused_result 
>> [-Wunused-result]
       i915_vma_unbind(vma);
       ^

vim +/i915_vma_unbind +3523 drivers/gpu/drm/i915/i915_gem_gtt.c

  3507                                                   vma->node.start,
  3508                                                   vma->node.size);
  3509                  vma->pin_count--;
  3510                  if (ret)
  3511                          return ret;
  3512          }
  3513  
  3514          ret = vma->vm->bind_vma(vma, cache_level, bind_flags);
  3515          if (ret)
  3516                  return ret;
  3517  
  3518          vma->bound |= bind_flags;
  3519  
  3520          if (vma->obj->mmap) {
  3521                  ret = vma->obj->mmap(vma->obj, false);
  3522                  if (ret) {
> 3523                          i915_vma_unbind(vma);
  3524                          return ret;
  3525                  }
  3526          }
  3527  
  3528          return 0;
  3529  }
  3530  
  3531  /**

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to