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

Commit 5e476c89 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Resolve clang compilation error"

parents a22d2afb 863bd77b
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1706,13 +1706,9 @@ static int hfi_process_session_rel_buf_done(u32 device_id,
	cmd_done.size = sizeof(struct msm_vidc_cb_cmd_done);
	cmd_done.session_id = (void *)(uintptr_t)pkt->session_id;
	cmd_done.status = hfi_map_err_status(pkt->error_type);
	if (pkt->rg_buffer_info) {
	cmd_done.data.buffer_info =
			*(struct hal_buffer_info *)pkt->rg_buffer_info;
	cmd_done.size = sizeof(struct hal_buffer_info);
	} else {
		dprintk(VIDC_ERR, "invalid payload in rel_buff_done\n");
	}

	info->response_type = HAL_SESSION_RELEASE_BUFFER_DONE;
	info->response.cmd = cmd_done;