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

Commit 91071ebc authored by Arun KS's avatar Arun KS
Browse files

msm: camera: isp: Fix possible uninitialized variable



This patch initialize the error_request_id to prevent
getting any random value while using it.

Change-Id: Ib87726e5049fe1fb7e0edae8c117921ea677ea72
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent d08071ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1211,7 +1211,7 @@ static int __cam_isp_ctx_handle_error(struct cam_isp_context *ctx_isp,
	struct cam_isp_ctx_req          *req_isp = NULL;
	struct cam_isp_ctx_req          *req_isp_to_report = NULL;
	struct cam_req_mgr_error_notify  notify;
	uint64_t                         error_request_id;
	uint64_t                         error_request_id = 0;
	struct cam_hw_fence_map_entry   *fence_map_out = NULL;
	struct cam_req_mgr_message       req_msg;