Hi Paulo,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-4.14.y
head: e1f7d50ae3a3ec342e87a9b1ce6787bfb8b3c08b
commit: 760f8522ce08a24abac3208290f93fe3fffc0d6c [6067/9999] selinux: use kernel
linux/socket.h for genheaders and mdp
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.14.y
git checkout 760f8522ce08a24abac3208290f93fe3fffc0d6c
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen6_dump_ppgtt':
drivers/gpu/drm/i915/i915_gem_gtt.c:1396:26: error: variable 'unused' set but
not used [-Werror=unused-but-set-variable]
struct i915_page_table *unused;
^~~~~~
drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen6_scratch_va_range':
drivers/gpu/drm/i915/i915_gem_gtt.c:1781:26: error: variable 'unused' set but
not used [-Werror=unused-but-set-variable]
struct i915_page_table *unused;
^~~~~~
In file included from drivers/gpu/drm/i915/i915_gem_gtt.c:3574:0:
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c: In function
'close_object_list':
> drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:290:6: error:
variable 'ignored' set but not used [-Werror=unused-but-set-variable]
int ignored;
^~~~~~~
cc1: all warnings being treated as errors
vim +/ignored +290 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
4a6f13fce1331d Chris Wilson 2017-02-13 285
8d28ba4568f497 Chris Wilson 2017-02-13 286 static void close_object_list(struct
list_head *objects,
8d28ba4568f497 Chris Wilson 2017-02-13 287 struct i915_address_space *vm)
8d28ba4568f497 Chris Wilson 2017-02-13 288 {
8d28ba4568f497 Chris Wilson 2017-02-13 289 struct drm_i915_gem_object *obj, *on;
aae4a3d811753d Chris Wilson 2017-02-13 @290 int ignored;
8d28ba4568f497 Chris Wilson 2017-02-13 291
8d28ba4568f497 Chris Wilson 2017-02-13 292 list_for_each_entry_safe(obj, on, objects,
st_link) {
8d28ba4568f497 Chris Wilson 2017-02-13 293 struct i915_vma *vma;
8d28ba4568f497 Chris Wilson 2017-02-13 294
8d28ba4568f497 Chris Wilson 2017-02-13 295 vma = i915_vma_instance(obj, vm, NULL);
aae4a3d811753d Chris Wilson 2017-02-13 296 if (!IS_ERR(vma))
aae4a3d811753d Chris Wilson 2017-02-13 297 ignored = i915_vma_unbind(vma);
62c981cfe78513 Chris Wilson 2017-02-13 298 /* Only ppgtt vma may be closed before the
object is freed */
62c981cfe78513 Chris Wilson 2017-02-13 299 if (!IS_ERR(vma) &&
!i915_vma_is_ggtt(vma))
8d28ba4568f497 Chris Wilson 2017-02-13 300 i915_vma_close(vma);
8d28ba4568f497 Chris Wilson 2017-02-13 301
8d28ba4568f497 Chris Wilson 2017-02-13 302 list_del(&obj->st_link);
8d28ba4568f497 Chris Wilson 2017-02-13 303 i915_gem_object_put(obj);
8d28ba4568f497 Chris Wilson 2017-02-13 304 }
8d28ba4568f497 Chris Wilson 2017-02-13 305 }
8d28ba4568f497 Chris Wilson 2017-02-13 306
:::::: The code at line 290 was first introduced by commit
:::::: aae4a3d811753d3f79c43c932b8f7d1bcbf42fb0 drm/i915: Use fault-injection to force the
shrinker to run in live GTT tests
:::::: TO: Chris Wilson <chris(a)chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris(a)chris-wilson.co.uk>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org