]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf68c7d08fd35f0ac016c90fe804b3010cb9ff549
tree1e91a2369386534893e96974c1a332a2b63150bf
parentc5dcea94ff0a808ca1af9ac7147cacc35586be62
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