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

Commit f452450a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Fix debugfs string overwrite"

parents cb67e92e c3b48e5d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -894,7 +894,8 @@ static int mdss_debug_dump_stats(void *data, char *buf, int len)
	int i, total = 0;

	for (i = 0; i < mdata->nctl; i++)
		total += mdss_debug_stat_ctl_dump(mdata->ctl_off + i, buf, len);
		total += mdss_debug_stat_ctl_dump(mdata->ctl_off + i,
			buf + total, len - total);

	total += scnprintf(buf + total, len - total, "\n");