lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 28 May 2017 13:57:17 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Chris Wilson <chris@...is-wilson.co.uk>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Mika Kuoppala <mika.kuoppala@...el.com>
Subject: drivers/gpu//drm/i915/i915_gem_gtt.c:947: error: 'iter.sg' is used
 uninitialized in this function

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: 894ccebee2b0e606ba9638d20dd87b33568482d7 drm/i915: Micro-optimise gen8_ppgtt_insert_entries()
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 894ccebee2b0e606ba9638d20dd87b33568482d7
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   cc1: warnings being treated as errors
   drivers/gpu//drm/i915/i915_gem_gtt.c: In function 'gen8_ppgtt_insert_3lvl':
>> drivers/gpu//drm/i915/i915_gem_gtt.c:947: error: 'iter.sg' is used uninitialized in this function
>> drivers/gpu//drm/i915/i915_gem_gtt.c:948: error: 'iter.dma' is used uninitialized in this function
   drivers/gpu//drm/i915/i915_gem_gtt.c: In function 'gen8_ppgtt_insert_4lvl':
   drivers/gpu//drm/i915/i915_gem_gtt.c:964: error: 'iter.sg' is used uninitialized in this function
   drivers/gpu//drm/i915/i915_gem_gtt.c:965: error: 'iter.dma' is used uninitialized in this function

vim +947 drivers/gpu//drm/i915/i915_gem_gtt.c

   941					   enum i915_cache_level cache_level,
   942					   u32 unused)
   943	{
   944		struct i915_hw_ppgtt *ppgtt = i915_vm_to_ppgtt(vm);
   945		struct sgt_dma iter = {
   946			.sg = pages->sgl,
 > 947			.dma = sg_dma_address(iter.sg),
 > 948			.max = iter.dma + iter.sg->length,
   949		};
   950	
   951		gen8_ppgtt_insert_pte_entries(ppgtt, &ppgtt->pdp, &iter,

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

Download attachment ".config.gz" of type "application/gzip" (27589 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ