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

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

Merge "drm/msm/dsi-staging: Allocate correct size of memory" into dev/msm-4.14-display

parents 621ded97 ff46d33b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3212,8 +3212,8 @@ static int dsi_display_get_phandle_index(
	u32 *val = NULL;
	int rc = 0;

	val = kzalloc(count, GFP_KERNEL);
	if (!val) {
	val = kcalloc(count, sizeof(*val), GFP_KERNEL);
	if (ZERO_OR_NULL_PTR(val)) {
		rc = -ENOMEM;
		goto end;
	}