Changes in kernel/generic/src/ipc/ops/concttome.c [48bcf49:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/concttome.c
r48bcf49 rb7fd2a0 42 42 static int request_process(call_t *call, answerbox_t *box) 43 43 { 44 cap_handle_t phone_handle = phone_alloc(TASK); 45 46 IPC_SET_ARG5(call->data, phone_handle); 47 48 return EOK; 44 cap_handle_t phone_handle; 45 errno_t rc = phone_alloc(TASK, &phone_handle); 46 IPC_SET_ARG5(call->data, (rc == EOK) ? phone_handle : -1); 47 return 0; 49 48 } 50 49 51 static int answer_cleanup(call_t *answer, ipc_data_t *olddata)50 static errno_t answer_cleanup(call_t *answer, ipc_data_t *olddata) 52 51 { 53 52 cap_handle_t phone_handle = (cap_handle_t) IPC_GET_ARG5(*olddata); … … 59 58 } 60 59 61 static int answer_preprocess(call_t *answer, ipc_data_t *olddata)60 static errno_t answer_preprocess(call_t *answer, ipc_data_t *olddata) 62 61 { 63 62 cap_handle_t phone_handle = (cap_handle_t) IPC_GET_ARG5(*olddata);
Note:
See TracChangeset
for help on using the changeset viewer.