Changeset c222816 in mainline
- Timestamp:
- 2018-11-09T22:03:24Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 90efa3b
- Parents:
- b9a2725
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 21:14:57)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 22:03:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
rb9a2725 rc222816 267 267 * @return EOK on success. 268 268 * @return ENOENT if there is no such phone handle. 269 * @return ENOMEM if not enough memory to make the call 269 270 * 270 271 */ … … 276 277 return ENOENT; 277 278 278 call_t *call = ipc_call_alloc(0); 279 call_t *call = ipc_call_alloc(FRAME_ATOMIC); 280 if (!call) { 281 kobject_put(kobj); 282 return ENOMEM; 283 } 284 279 285 call->priv = priv; 280 286 memcpy(call->data.args, data->args, sizeof(data->args)); … … 373 379 } 374 380 375 call_t *call = ipc_call_alloc(0); 381 call_t *call = ipc_call_alloc(FRAME_ATOMIC); 382 if (!call) { 383 kobject_put(kobj); 384 return ENOMEM; 385 } 386 376 387 IPC_SET_IMETHOD(call->data, imethod); 377 388 IPC_SET_ARG1(call->data, arg1); … … 420 431 } 421 432 422 call_t *call = ipc_call_alloc(0); 433 call_t *call = ipc_call_alloc(FRAME_ATOMIC); 434 if (!call) { 435 kobject_put(kobj); 436 return ENOMEM; 437 } 438 423 439 errno_t rc = copy_from_uspace(&call->data.args, &data->args, 424 440 sizeof(call->data.args));
Note:
See TracChangeset
for help on using the changeset viewer.