Changeset a46e56b in mainline for uspace/drv/bus/usb/vhc/conndev.c


Ignore:
Timestamp:
2018-03-22T06:49:35Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77f0a1d
Parents:
3e242d2
git-author:
Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
git-committer:
Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
Message:

Prefer handle over ID in naming handle variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/conndev.c

    r3e242d2 ra46e56b  
    9090 *
    9191 * @param fun Device handling the call.
    92  * @param icallid Call id.
     92 * @param icall_handle Call id.
    9393 * @param icall Call data.
    9494 */
    95 void default_connection_handler(ddf_fun_t *fun, cap_call_handle_t icallid,
     95void default_connection_handler(ddf_fun_t *fun, cap_call_handle_t icall_handle,
    9696    ipc_call_t *icall)
    9797{
     
    104104                errno_t rc = vhc_virtdev_plug(vhc, callback, &plugged_device_handle);
    105105                if (rc != EOK) {
    106                         async_answer_0(icallid, rc);
     106                        async_answer_0(icall_handle, rc);
    107107                        async_hangup(callback);
    108108                        return;
    109109                }
    110110
    111                 async_answer_0(icallid, EOK);
     111                async_answer_0(icall_handle, EOK);
    112112
    113113                receive_device_name(callback);
     
    116116                    plugged_device_name, plugged_device_handle);
    117117        } else
    118                 async_answer_0(icallid, EINVAL);
     118                async_answer_0(icall_handle, EINVAL);
    119119}
    120120
Note: See TracChangeset for help on using the changeset viewer.