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

Commit 2c3dbc95 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 kernel overwrite GET_BUF_BY_IDX ioctl"

parents 939ab031 1a34af0c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -555,8 +555,7 @@ static long msm_buf_mngr_subdev_ioctl(struct v4l2_subdev *sd,
				sizeof(struct msm_buf_mngr_info))) {
				return -EFAULT;
			}
			MSM_CAM_GET_IOCTL_ARG_PTR(&k_ioctl.ioctl_ptr,
				&buf_info, sizeof(void *));
			k_ioctl.ioctl_ptr = (uintptr_t)&buf_info;
			argp = &k_ioctl;
			rc = msm_cam_buf_mgr_ops(cmd, argp);
			}