disp: msm: fix compilation errors for dlkm compilation

Fix dlkm compilation errors that are due to the use of -Werror
flags used by the build system.

Change-Id: I5e1e9bc63c1361d73e4930aab123212717872ecb
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
Tatenda Chipeperekwa
2020-12-08 15:00:14 -08:00
committed by Abhijit Kulkarni
parent 1b3ad8486d
commit c6257272d4
31 changed files with 87 additions and 85 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
*/
#define pr_fmt(fmt) "%s: " fmt, __func__
@@ -133,7 +133,7 @@ static bool sde_rot_fence_signaled(struct dma_fence *fence)
bool status;
status = ((s32) (tl->curr_value - fence->seqno)) >= 0;
SDEROT_DBG("status:%d fence seq:%d and timeline:%d\n",
SDEROT_DBG("status:%d fence seq:%llu and timeline:%d\n",
status, fence->seqno, tl->curr_value);
return status;
}
@@ -154,7 +154,7 @@ static void sde_rot_fence_release(struct dma_fence *fence)
static void sde_rot_fence_value_str(struct dma_fence *fence, char *str,
int size)
{
snprintf(str, size, "%u", fence->seqno);
snprintf(str, size, "%llu", fence->seqno);
}
static void sde_rot_fence_timeline_value_str(struct dma_fence *fence,