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

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

Merge "soc: qcom: rpm_stats: Fix snprintf string format"

parents 097dabbf 149c346d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/* Copyright (c) 2011-2015, 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2015, 2017-2018, The Linux Foundation.
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -430,7 +431,7 @@ static ssize_t rpmstats_show(struct kobject *kobj,
					prvdata);
	}

	ret = snprintf(buf, prvdata->len, prvdata->buf);
	ret = snprintf(buf, prvdata->len, "%s", prvdata->buf);
	iounmap(prvdata->reg_base);
ioremap_fail:
	kfree(prvdata);