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

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

Merge "slimbus: Fix uninitialized variable access"

parents aff67f7d 398b404c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2397,6 +2397,8 @@ static int slim_sched_chans(struct slim_device *sb, u32 clkgear,
		bool opensl1valid = false;
		int maxctrlw1, maxctrlw3, i;

		/* intitalize array to zero */
		memset(opensl1, 0x0, sizeof(opensl1));
		finalexp = (ctrl->sched.chc3[last3])->rootexp;
		if (last1 >= 0) {
			slc1 = ctrl->sched.chc1[coeff1];