Changeset b23e9cc in mainline for uspace/lib/drv/generic/remote_usbhc.c
- Timestamp:
- 2011-05-07T14:59:10Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 561f41b, 76ef94e
- Parents:
- 7205209 (diff), faf498d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhc.c
r7205209 rb23e9cc 302 302 async_transaction_t *trans = async_transaction_create(callid); 303 303 if (trans == NULL) { 304 async_answer_0(data_callid, ENOMEM); 304 305 async_answer_0(callid, ENOMEM); 305 306 return; … … 314 315 315 316 if (rc != EOK) { 317 async_answer_0(data_callid, rc); 316 318 async_answer_0(callid, rc); 317 319 async_transaction_destroy(trans); … … 460 462 async_transaction_t *trans = async_transaction_create(callid); 461 463 if (trans == NULL) { 464 async_answer_0(data_callid, ENOMEM); 462 465 async_answer_0(callid, ENOMEM); 463 466 free(setup_packet); … … 469 472 trans->buffer = malloc(data_len); 470 473 if (trans->buffer == NULL) { 474 async_answer_0(data_callid, ENOMEM); 471 475 async_answer_0(callid, ENOMEM); 472 476 async_transaction_destroy(trans); … … 480 484 481 485 if (rc != EOK) { 486 async_answer_0(data_callid, rc); 482 487 async_answer_0(callid, rc); 483 488 async_transaction_destroy(trans);
Note:
See TracChangeset
for help on using the changeset viewer.