From 679dbb6beaee64fe4e856613b728591392b0a096 Mon Sep 17 00:00:00 2001 From: Vasantha Balla Date: Fri, 21 Jan 2022 08:01:16 +0530 Subject: [PATCH] msm: vidc: Fix coverity static code analysis violations Debug prints modified to fix type mismatch errors. Change-Id: I194ff4842f79f5cc32df8686855b88d3f6f4c5e8 --- msm/vidc/msm_vidc_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msm/vidc/msm_vidc_common.c b/msm/vidc/msm_vidc_common.c index 5c8bee69eee7..a793677718c7 100644 --- a/msm/vidc/msm_vidc_common.c +++ b/msm/vidc/msm_vidc_common.c @@ -7822,7 +7822,7 @@ u32 msm_comm_calc_framerate(struct msm_vidc_inst *inst, capability = &inst->capability; if (timestamp_us <= prev_ts) { - s_vpr_e(inst->sid, "%s: invalid ts %lld, prev ts %lld\n", + s_vpr_e(inst->sid, "%s: invalid ts %llu, prev ts %llu\n", __func__, timestamp_us, prev_ts); return framerate; } @@ -7853,7 +7853,7 @@ u32 msm_comm_get_max_framerate(struct msm_vidc_inst *inst) } avg_framerate = count ? (div_u64(avg_framerate, count)) : (1 << 16); - s_vpr_l(inst->sid, "%s: fps %u, list size %d\n", __func__, avg_framerate, count); + s_vpr_l(inst->sid, "%s: fps %u, list size %u\n", __func__, avg_framerate, count); mutex_unlock(&inst->timestamps.lock); return (u32)avg_framerate; }