[drm-intel:for-linux-next 4/5] drivers/gpu//drm/i915/intel_uncore.c:1626: error: call to '__compiletime_assert_1626' declared with attribute error: BUILD_BUG_ON failed: (fast_timeout_us) > 50000

kbuild test robot fengguang.wu at intel.com
Fri Apr 7 22:15:35 UTC 2017


tree:   git://anongit.freedesktop.org/drm-intel for-linux-next
head:   bea4e4a4f831df1c104be60b3caa7205ba1bb4f9
commit: 1d1a9774e40414148ecebbdb713746bfb6f9a561 [4/5] drm/i915: Extend intel_wait_for_register_fw() with fast timeout
config: x86_64-randconfig-s1-04080500 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        git checkout 1d1a9774e40414148ecebbdb713746bfb6f9a561
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu//drm/i915/intel_uncore.c: In function '__intel_wait_for_register_fw':
>> drivers/gpu//drm/i915/intel_uncore.c:1626: error: call to '__compiletime_assert_1626' declared with attribute error: BUILD_BUG_ON failed: (fast_timeout_us) > 50000

vim +/__compiletime_assert_1626 +1626 drivers/gpu//drm/i915/intel_uncore.c

  1620	#define done (((reg_value = I915_READ_FW(reg)) & mask) == value)
  1621		int ret;
  1622	
  1623		if (fast_timeout_us > 10)
  1624			ret = _wait_for(done, fast_timeout_us, 10);
  1625		else
> 1626			ret = _wait_for_atomic(done, fast_timeout_us, 0);
  1627		if (ret)
  1628			ret = wait_for(done, slow_timeout_ms);
  1629		if (out_value)

---
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/gzip
Size: 25303 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170408/c1811481/attachment-0001.gz>


More information about the dri-devel mailing list