Merge "smcinvoke: Move IPC_LOG before deleting cb_txn"
This commit is contained in:
commit
2bbcc09826
@ -1194,16 +1194,15 @@ static void process_tzcb_req(void *buf, size_t buf_len, struct file **arr_filp)
|
||||
}
|
||||
--cb_reqs_inflight;
|
||||
memcpy(buf, cb_req, buf_len);
|
||||
IPC_LOG("result=%d tzhandle=0x%08x op=0x%02x counts=0x%04x, cb_reqs_inflight=%d",
|
||||
cb_req->result,
|
||||
cb_req->hdr.tzhandle, cb_req->hdr.op, cb_req->hdr.counts,
|
||||
cb_reqs_inflight);
|
||||
kref_put(&cb_txn->ref_cnt, delete_cb_txn);
|
||||
if (srvr_info)
|
||||
kref_put(&srvr_info->ref_cnt, destroy_cb_server);
|
||||
mutex_unlock(&g_smcinvoke_lock);
|
||||
|
||||
IPC_LOG("result=%d tzhandle=0x%08x op=0x%02x counts=0x%04x, cb_reqs_inflight=%d",
|
||||
cb_req->result,
|
||||
cb_req->hdr.tzhandle, cb_req->hdr.op, cb_req->hdr.counts,
|
||||
cb_reqs_inflight);
|
||||
|
||||
}
|
||||
|
||||
static int marshal_out_invoke_req(const uint8_t *buf, uint32_t buf_size,
|
||||
|
Loading…
Reference in New Issue
Block a user