msm: vidc: Fix coverity static code analysis violations

Debug prints modified to fix type mismatch errors.

Change-Id: I194ff4842f79f5cc32df8686855b88d3f6f4c5e8
This commit is contained in:
Vasantha Balla 2022-01-21 08:01:16 +05:30
commit 679dbb6bea

View file

@ -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;
}