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

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

Merge "PM/devfreq: Fix uninitialized use of stat variable"

parents d0a8bc69 50696377
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014, 2016 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
@@ -74,6 +74,8 @@ static int devfreq_vbif_ev_handler(struct devfreq *devfreq,
	int ret;
	struct devfreq_dev_status stat;

	memset(&stat, 0, sizeof(stat));

	switch (event) {
	case DEVFREQ_GOV_START:
		mutex_lock(&df_lock);