Changeset a46e56b in mainline for uspace/srv/hid/input/ctl/kbdev.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/srv/hid/input/ctl/kbdev.c

    r3e242d2 ra46e56b  
    147147}
    148148
    149 static void kbdev_callback_conn(cap_call_handle_t iid, ipc_call_t *icall, void *arg)
     149static void kbdev_callback_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)
    150150{
    151151        kbdev_t *kbdev;
     
    158158        while (true) {
    159159                ipc_call_t call;
    160                 cap_call_handle_t callid;
     160                cap_call_handle_t chandle;
    161161
    162                 callid = async_get_call(&call);
     162                chandle = async_get_call(&call);
    163163                if (!IPC_GET_IMETHOD(call)) {
    164164                        kbdev_destroy(kbdev);
     
    179179                }
    180180
    181                 async_answer_0(callid, retval);
     181                async_answer_0(chandle, retval);
    182182        }
    183183}
Note: See TracChangeset for help on using the changeset viewer.