drm/i915/gvt: fix spare warnings on odd constant _Bool cast
authorDu, Changbin <changbin.du@intel.com>
Thu, 20 Oct 2016 06:08:48 +0000 (14:08 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 20 Oct 2016 09:31:36 +0000 (17:31 +0800)
commit76a79d59ada00fa22e5f8cd94b36296f395c3406
tree1e91a2369386534893e96974c1a332a2b63150bf
parent999ccb4017c2c818afae18a90060385ec1db903b
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>
drivers/gpu/drm/i915/gvt/execlist.c
drivers/gpu/drm/i915/gvt/gtt.c