Hi Daniel, [auto build test ERROR on drm-intel/for-linux-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-i915-Shut-up-GuC-errors-when-it-s-disabled/20151023-165910 config: x86_64-randconfig-x010-10211707 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): drivers/gpu/drm/i915/i915_gem.c: In function 'i915_gem_init_hw': >> drivers/gpu/drm/i915/i915_gem.c:5202:0: error: unterminated argument list invoking macro "DRM_ERROR" } ^ >> drivers/gpu/drm/i915/i915_gem.c:4753:4: error: 'DRM_ERROR' undeclared (first use in this function) DRM_ERROR("Failed to initialize GuC, error %d\n", ret, ^ drivers/gpu/drm/i915/i915_gem.c:4753:4: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu/drm/i915/i915_gem.c:4753:4: error: expected ';' at end of input >> drivers/gpu/drm/i915/i915_gem.c:4753:4: error: expected declaration or statement at end of input >> drivers/gpu/drm/i915/i915_gem.c:4753:4: error: expected declaration or statement at end of input >> drivers/gpu/drm/i915/i915_gem.c:4753:4: error: expected declaration or statement at end of input >> drivers/gpu/drm/i915/i915_gem.c:4746:4: error: label 'out' used but not defined goto out; ^ >> drivers/gpu/drm/i915/i915_gem.c:4697:14: warning: unused variable 'j' [-Wunused-variable] int ret, i, j; ^ drivers/gpu/drm/i915/i915_gem.c: At top level: drivers/gpu/drm/i915/i915_gem.c:2895:1: warning: 'i915_gem_retire_work_handler' defined but not used [-Wunused-function] i915_gem_retire_work_handler(struct work_struct *work) ^ drivers/gpu/drm/i915/i915_gem.c:2914:1: warning: 'i915_gem_idle_work_handler' defined but not used [-Wunused-function] i915_gem_idle_work_handler(struct work_struct *work) ^ drivers/gpu/drm/i915/i915_gem.c: In function 'i915_gem_init_hw': >> drivers/gpu/drm/i915/i915_gem.c:4753:4: warning: control reaches end of non-void function [-Wreturn-type] DRM_ERROR("Failed to initialize GuC, error %d\n", ret, ^ vim +/DRM_ERROR +5202 drivers/gpu/drm/i915/i915_gem.c ea70299d Dave Gordon 2015-07-09 5196 ea70299d Dave Gordon 2015-07-09 5197 return obj; ea70299d Dave Gordon 2015-07-09 5198 ea70299d Dave Gordon 2015-07-09 5199 fail: ea70299d Dave Gordon 2015-07-09 5200 drm_gem_object_unreference(&obj->base); ea70299d Dave Gordon 2015-07-09 5201 return ERR_PTR(ret); ea70299d Dave Gordon 2015-07-09 @5202 } :::::: The code at line 5202 was first introduced by commit :::::: ea70299d6e6961dd6adce2cbdf64e6e8a7ea97c0 drm/i915: Add i915_gem_object_create_from_data() :::::: TO: Dave Gordon <david.s.gordon@xxxxxxxxx> :::::: CC: Daniel Vetter <daniel.vetter@xxxxxxxx> --- 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 Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx