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


Ignore:
Timestamp:
2018-01-04T20:50:53Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
08d4ea2
Parents:
3b47db6
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
Message:

Change (rc != 0) to (rc != EOK).

File:
1 edited

Legend:

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

    r3b47db6 r58e4d85  
    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.