Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 679dbb6b authored by Vasantha Balla's avatar Vasantha Balla
Browse files

msm: vidc: Fix coverity static code analysis violations

Debug prints modified to fix type mismatch errors.

Change-Id: I194ff4842f79f5cc32df8686855b88d3f6f4c5e8
parent 6602b657
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}