linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/gpu/drm/i915/selftests/i915_gem_request.c:280: error: 'request' may be used uninitialized in this function
@ 2017-05-28  5:18 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-05-28  5:18 UTC (permalink / raw)
  To: Chris Wilson; +Cc: kbuild-all, linux-kernel, Joonas Lahtinen

[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]

Hi Chris,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   249f1efd8e3d58f86469fc305b0eda39db18d7ce
commit: b348090d6758cc391dc91f8a8233b18f0acc8458 drm/i915: Simple selftest to exercise live requests
date:   3 months ago
config: x86_64-randconfig-b0-05281108 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        git checkout b348090d6758cc391dc91f8a8233b18f0acc8458
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All errors (new ones prefixed by >>):

   cc1: warnings being treated as errors
   In file included from drivers/gpu/drm/i915/i915_gem_request.c:1204:
   drivers/gpu/drm/i915/selftests/i915_gem_request.c: In function 'live_nop_request':
>> drivers/gpu/drm/i915/selftests/i915_gem_request.c:280: error: 'request' may be used uninitialized in this function

vim +/request +280 drivers/gpu/drm/i915/selftests/i915_gem_request.c

   274		 */
   275	
   276		mutex_lock(&i915->drm.struct_mutex);
   277	
   278		for_each_engine(engine, i915, id) {
   279			IGT_TIMEOUT(end_time);
 > 280			struct drm_i915_gem_request *request;
   281			unsigned long n, prime;
   282			ktime_t times[2] = {};
   283	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27589 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-28  5:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-28  5:18 drivers/gpu/drm/i915/selftests/i915_gem_request.c:280: error: 'request' may be used uninitialized in this function kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).