[PATCH] drm/i915/gvt: Remove unused variable 'scheduler'

Zhenyu Wang zhenyuw at linux.intel.com
Fri Sep 22 00:03:47 UTC 2017


On 2017.09.22 00:36:02 +0800, Zhenyu Wang wrote:
> On 2017.09.21 10:14:07 +0800, changbin.du at intel.com wrote:
> > From: Changbin Du <changbin.du at intel.com>
> > 
> > drivers/gpu/drm/i915/gvt/sched_policy.c: In function 'tbs_sched_clean_vgpu':
> > drivers/gpu/drm/i915/gvt/sched_policy.c:311:39: error: unused variable 'scheduler' [-Werror=unused-variable]
> > struct intel_gvt_workload_scheduler *scheduler = &vgpu->gvt->scheduler;
> >                                      ^~~~~~~~~
> > Fix: 9440e2a ("drm/i915/gvt: Fix GPU hang after reusing vGPU instance across different guest OS")
> > Signed-off-by: Changbin Du <changbin.du at intel.com>
> > 
> 
> Could you refresh your original one for this? I just like to see one for
> rc fix instead of another fix for fix. thanks.
> 

Don't worry about already merged one, I can always refresh that.
And for this, I think we'd better always pass -Werror or just check
on DRM_I915_WERROR.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170922/2bff5401/attachment.sig>


More information about the intel-gvt-dev mailing list