Changeset 7565a4b in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2017-12-19T17:34:39Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 89ea2dc
- Parents:
- 62ca560
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r62ca560 r7565a4b 444 444 * @param phone Phone structure to be hung up. 445 445 * 446 * @return 0if the phone is disconnected.447 * @return -1if the phone was already disconnected.446 * @return EOK if the phone is disconnected. 447 * @return EINVAL if the phone was already disconnected. 448 448 * 449 449 */ … … 455 455 phone->state == IPC_PHONE_CONNECTING) { 456 456 mutex_unlock(&phone->lock); 457 return -1;457 return EINVAL; 458 458 } 459 459 … … 478 478 mutex_unlock(&phone->lock); 479 479 480 return 0;480 return EOK; 481 481 } 482 482
Note:
See TracChangeset
for help on using the changeset viewer.