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

Commit c450d2e4 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: reqmgr: check if link handle is correctly passed" into camera-kernel.lnx.4.0

parents 89103da2 4856f7a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4542,7 +4542,7 @@ int cam_req_mgr_dump_request(struct cam_dump_req_cmd *dump_req)

	link = (struct cam_req_mgr_core_link *)
		cam_get_device_priv(dump_req->link_hdl);
	if (!link) {
	if (!link || link->link_hdl != dump_req->link_hdl) {
		CAM_DBG(CAM_CRM, "link ptr NULL %x", dump_req->link_hdl);
		rc = -EINVAL;
		goto end;