[gvt-linux:gvt-fixes 13/13] drivers/gpu/drm/i915/gvt/sched_policy.c:311: warning: unused variable 'scheduler'
kbuild test robot
fengguang.wu at intel.com
Thu Sep 21 04:36:08 UTC 2017
tree: https://github.com/01org/gvt-linux.git gvt-fixes
head: 002e00c55d2db3709b6fac336eae0c302ce8f455
commit: 002e00c55d2db3709b6fac336eae0c302ce8f455 [13/13] drm/i915/gvt: Fix GPU hang after reusing vGPU instance across different guest OS
config: x86_64-randconfig-b0-09211019 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 002e00c55d2db3709b6fac336eae0c302ce8f455
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/gvt/sched_policy.c: In function 'tbs_sched_clean_vgpu':
>> drivers/gpu/drm/i915/gvt/sched_policy.c:311: warning: unused variable 'scheduler'
vim +/scheduler +311 drivers/gpu/drm/i915/gvt/sched_policy.c
4b63960e Zhi Wang 2016-05-01 308
4b63960e Zhi Wang 2016-05-01 309 static void tbs_sched_clean_vgpu(struct intel_vgpu *vgpu)
4b63960e Zhi Wang 2016-05-01 310 {
0e86cc9c Changbin Du 2017-05-04 @311 struct intel_gvt_workload_scheduler *scheduler = &vgpu->gvt->scheduler;
0e86cc9c Changbin Du 2017-05-04 312
4b63960e Zhi Wang 2016-05-01 313 kfree(vgpu->sched_data);
4b63960e Zhi Wang 2016-05-01 314 vgpu->sched_data = NULL;
4b63960e Zhi Wang 2016-05-01 315 }
4b63960e Zhi Wang 2016-05-01 316
:::::: The code at line 311 was first introduced by commit
:::::: 0e86cc9ccc3bf557348befaddf5cb613cf3c4458 drm/i915/gvt: implement per-vm mmio switching optimization
:::::: TO: Changbin Du <changbin.du at intel.com>
:::::: CC: Zhenyu Wang <zhenyuw at linux.intel.com>
---
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: 32780 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170921/4b18ed1f/attachment-0001.gz>
More information about the intel-gvt-dev
mailing list