mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
Merge "fix(intel): fix asynchronous read response by copying data to input buffer" into integration
This commit is contained in:
commit
fe8573ef1c
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ int mailbox_read_response_async(unsigned int *job_id, uint32_t *header,
|
|||
|
||||
/* copy response data to input buffer if applicable */
|
||||
ret_resp_len = MBOX_RESP_LEN(mailbox_resp_ctr.payload->header);
|
||||
if ((ret_resp_len > 0) && (response == NULL) && resp_len) {
|
||||
if ((ret_resp_len > 0) && (response != NULL) && (resp_len != NULL)) {
|
||||
if (*resp_len > ret_resp_len) {
|
||||
*resp_len = ret_resp_len;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue