Message ID | 943aa524541cf0d8421d41ee6da6a08f56332bfc.1427736972.git.joe@perches.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/ast/ast_post.c b/drivers/gpu/drm/ast/ast_post.c index 810c51d..6ce2a6f 100644 --- a/drivers/gpu/drm/ast/ast_post.c +++ b/drivers/gpu/drm/ast/ast_post.c @@ -64,7 +64,7 @@ bool ast_is_vga_enabled(struct drm_device *dev) return ch & 0x04; } } - return 0; + return false; } static const u8 extreginfo[] = { 0x0f, 0x04, 0x1c, 0xff }; diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c index 945f1e0..704e231 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c @@ -502,7 +502,7 @@ bool vmw_fence_obj_signaled(struct vmw_fence_obj *fence) struct vmw_fence_manager *fman = fman_from_fence(fence); if (test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->base.flags)) - return 1; + return true; vmw_fences_update(fman);
Use the normal return values for bool functions Signed-off-by: Joe Perches <joe@perches.com> --- drivers/gpu/drm/ast/ast_post.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)