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

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

Merge "msm: mdss: fix the input layer and layer list array index"

parents 07a1122b 159cb362
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3918,8 +3918,8 @@ static int mdss_fb_atomic_commit_ioctl(struct fb_info *info,

	if (layer_count) {
		for (j = 0; j < layer_count; j++) {
			rc = copy_to_user(&input_layer_list[i].error_code,
					&layer_list[i].error_code, sizeof(int));
			rc = copy_to_user(&input_layer_list[j].error_code,
					&layer_list[j].error_code, sizeof(int));
			if (rc)
				pr_err("layer error code copy to user failed\n");
		}