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>
此提交包含在:
Du, Changbin
2016-10-20 14:08:48 +08:00
提交者 Zhenyu Wang
父節點 999ccb4017
當前提交 76a79d59ad
共有 2 個檔案被更改,包括 2 行新增2 行删除

查看文件

@@ -1921,7 +1921,7 @@ int intel_vgpu_emulate_gtt_mmio_write(struct intel_vgpu *vgpu, unsigned int off,
return ret;
}
static bool create_scratch_page(struct intel_vgpu *vgpu)
static int create_scratch_page(struct intel_vgpu *vgpu)
{
struct intel_vgpu_gtt *gtt = &vgpu->gtt;
void *p;