Changes in uspace/lib/drv/generic/remote_usbhc.c [46e078a:6985b4e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhc.c
r46e078a r6985b4e 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.