Changeset 20c7c40 in mainline
- Timestamp:
- 2009-11-25T15:26:25Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8359969
- Parents:
- 439d036
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
r439d036 r20c7c40 61 61 { \ 62 62 if (phoneid > IPC_MAX_PHONES) { \ 63 err ;\63 err \ 64 64 } \ 65 65 phone = &TASK->phones[phoneid]; \ … … 375 375 phone_t *cloned_phone; 376 376 GET_CHECK_PHONE(cloned_phone, IPC_GET_ARG1(call->data), 377 return ENOENT );377 return ENOENT;); 378 378 phones_lock(cloned_phone, phone); 379 379 if ((cloned_phone->state != IPC_PHONE_CONNECTED) || … … 535 535 int rc; 536 536 537 GET_CHECK_PHONE(phone, phoneid, return ENOENT );537 GET_CHECK_PHONE(phone, phoneid, return ENOENT;); 538 538 539 539 call = ipc_call_alloc(0); … … 591 591 int rc; 592 592 593 GET_CHECK_PHONE(phone, phoneid, return ENOENT );593 GET_CHECK_PHONE(phone, phoneid, return ENOENT;); 594 594 595 595 call = ipc_call_alloc(0); … … 666 666 return IPC_CALLRET_TEMPORARY; 667 667 668 GET_CHECK_PHONE(phone, phoneid, return IPC_CALLRET_FATAL );668 GET_CHECK_PHONE(phone, phoneid, return IPC_CALLRET_FATAL;); 669 669 670 670 call = ipc_call_alloc(0); … … 705 705 return IPC_CALLRET_TEMPORARY; 706 706 707 GET_CHECK_PHONE(phone, phoneid, return IPC_CALLRET_FATAL );707 GET_CHECK_PHONE(phone, phoneid, return IPC_CALLRET_FATAL;); 708 708 709 709 call = ipc_call_alloc(0); … … 755 755 call->flags |= IPC_CALL_FORWARDED; 756 756 757 GET_CHECK_PHONE(phone, phoneid, { 757 GET_CHECK_PHONE(phone, phoneid, { 758 758 IPC_SET_RETVAL(call->data, EFORWARD); 759 759 ipc_answer(&TASK->answerbox, call); … … 960 960 phone_t *phone; 961 961 962 GET_CHECK_PHONE(phone, phoneid, return ENOENT );962 GET_CHECK_PHONE(phone, phoneid, return ENOENT;); 963 963 964 964 if (ipc_phone_hangup(phone))
Note:
See TracChangeset
for help on using the changeset viewer.