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

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

Merge "msm: vidc: Fix NULL access in bw governor"

parents 510b3cd2 66894324
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -168,8 +168,7 @@ static struct lut const *__lut(int width, int height)
			return &LUT[c];
	} while (++c < ARRAY_SIZE(LUT));

	WARN(true, "Shouldn't be here, LUT possibly corrupted?\n");
	return NULL; /* impossible */
	return &LUT[ARRAY_SIZE(LUT) - 1];
}

static fp_t __compression_ratio(struct lut const *entry, int bpp,