diff options
author | Du, Changbin <changbin.du@intel.com> | 2016-10-20 14:08:48 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2016-10-20 17:31:36 +0800 |
commit | 76a79d59ada00fa22e5f8cd94b36296f395c3406 (patch) | |
tree | 1e91a2369386534893e96974c1a332a2b63150bf /drivers/gpu/drm/i915/gvt/execlist.c | |
parent | drm/i915/gvt: mark symbols static where possible (diff) | |
download | linux-dev-76a79d59ada00fa22e5f8cd94b36296f395c3406.tar.xz linux-dev-76a79d59ada00fa22e5f8cd94b36296f395c3406.zip |
drm/i915/gvt: fix spare warnings on odd constant _Bool cast
The function return values should has type int if it return
a integer value.
Signed-off-by: Du, Changbin <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/execlist.c')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/execlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/execlist.c b/drivers/gpu/drm/i915/gvt/execlist.c index d251ca5d173c..c1f6019d8895 100644 --- a/drivers/gpu/drm/i915/gvt/execlist.c +++ b/drivers/gpu/drm/i915/gvt/execlist.c @@ -623,7 +623,7 @@ static int prepare_mm(struct intel_vgpu_workload *workload) (list_empty(q) ? NULL : container_of(q->prev, \ struct intel_vgpu_workload, list)) -static bool submit_context(struct intel_vgpu *vgpu, int ring_id, +static int submit_context(struct intel_vgpu *vgpu, int ring_id, struct execlist_ctx_descriptor_format *desc, bool emulate_schedule_in) { |