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

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

Merge "msm: camera: Fix allocation size in memory manager" into msm-4.9

parents 0f44b48f 53b1090f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ int cam_mem_mgr_init(void)
	}

	bitmap_size = BITS_TO_LONGS(CAM_MEM_BUFQ_MAX) * sizeof(long);
	tbl.bitmap = kzalloc(sizeof(bitmap_size), GFP_KERNEL);
	tbl.bitmap = kzalloc(bitmap_size, GFP_KERNEL);
	if (!tbl.bitmap) {
		rc = -ENOMEM;
		goto bitmap_fail;