소스 검색

msm: camera: isp: Fix type mismatch arguments in indirect function calls

Fix type mismatch arguments in callback functions.

CRs-Fixed: 2878736
Change-Id: I5f88d870d1927db71dae2b1773ba185ea4c6838c
Signed-off-by: Chandan Kumar Jha <[email protected]>
Chandan Kumar Jha 4 년 전
부모
커밋
166ccd4af8
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 2 - 1
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -10177,7 +10177,8 @@ static int  cam_ife_hw_mgr_find_affected_ctx(
 		 */
 		if (notify_err_cb)
 			notify_err_cb(ife_hwr_mgr_ctx->common.cb_priv,
-				CAM_ISP_HW_EVENT_ERROR, error_event_data);
+				CAM_ISP_HW_EVENT_ERROR,
+			        (void *)error_event_data);
 		else {
 			CAM_WARN(CAM_ISP, "Error call back is not set");
 			goto end;