浏览代码

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;