Changeset a53ed3a in mainline for kernel/generic/src/ipc/sysipc.c


Ignore:
Timestamp:
2018-01-13T03:15:30Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36df27eb, 50f19b7
Parents:
b7fd2a0
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-13 03:15:24)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-13 03:15:30)
Message:

Change (rc != 0) to (rc != EOK), where appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    rb7fd2a0 ra53ed3a  
    424424        errno_t rc = copy_from_uspace(&call->data.args, &data->args,
    425425            sizeof(call->data.args));
    426         if (rc != 0) {
     426        if (rc != EOK) {
    427427                kobject_put(call->kobject);
    428428                kobject_put(kobj);
     
    607607        errno_t rc = copy_from_uspace(&newdata.args, &data->args,
    608608            sizeof(newdata.args));
    609         if (rc != 0)
     609        if (rc != EOK)
    610610                return (sys_errno_t) rc;
    611611       
     
    697697        errno_t rc = copy_from_uspace(&call->data.args, &data->args,
    698698            sizeof(call->data.args));
    699         if (rc != 0) {
     699        if (rc != EOK) {
    700700                /*
    701701                 * Republish the capability so that the call does not get lost.
Note: See TracChangeset for help on using the changeset viewer.