Merge "drivers: soc: ddr_stats: Initialize the uninitialized variable"

This commit is contained in:
qctecmdr 2020-12-04 05:45:44 -08:00 • committed by Gerrit - the friendly Code Review server
commit 93fe7227e1

View file

@ -71,7 +71,7 @@ static ssize_t ddr_stats_append_data_to_buf(char *buf, int length, int *count,
{
u32 cp_idx = 0;
u32 name;
u64 duration;
u64 duration = 0;
if (accumulated_duration) {
duration = data->duration * 100;