Changeset a46e56b in mainline for uspace/lib/drv/generic/remote_usb.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/lib/drv/generic/remote_usb.c

    r3e242d2 ra46e56b  
    107107
    108108void remote_usb_get_my_description(ddf_fun_t *fun, void *iface,
    109     cap_call_handle_t callid, ipc_call_t *call)
     109    cap_call_handle_t chandle, ipc_call_t *call)
    110110{
    111111        const usb_iface_t *usb_iface = (usb_iface_t *) iface;
    112112
    113113        if (usb_iface->get_my_description == NULL) {
    114                 async_answer_0(callid, ENOTSUP);
     114                async_answer_0(chandle, ENOTSUP);
    115115                return;
    116116        }
     
    119119        const errno_t ret = usb_iface->get_my_description(fun, &desc);
    120120        if (ret != EOK) {
    121                 async_answer_0(callid, ret);
     121                async_answer_0(chandle, ret);
    122122        } else {
    123                 async_answer_5(callid, EOK,
     123                async_answer_5(chandle, EOK,
    124124                    (sysarg_t) desc.address,
    125125                    (sysarg_t) desc.depth,
Note: See TracChangeset for help on using the changeset viewer.