Changeset 5a6cc679 in mainline for uspace/srv/ns/task.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    r132ab5d1 r5a6cc679  
    151151static list_t pending_wait;
    152152
    153 int task_init(void)
     153errno_t task_init(void)
    154154{
    155155        if (!hash_table_create(&task_hash_table, 0, 0, &task_hash_table_ops)) {
     
    225225}
    226226
    227 int ns_task_id_intro(ipc_call_t *call)
     227errno_t ns_task_id_intro(ipc_call_t *call)
    228228{
    229229        task_id_t id = MERGE_LOUP32(IPC_GET_ARG1(*call), IPC_GET_ARG2(*call));
     
    264264}
    265265
    266 static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id)
     266static errno_t get_id_by_phone(sysarg_t phone_hash, task_id_t *id)
    267267{
    268268        ht_link_t *link = hash_table_find(&phone_to_id, &phone_hash);
     
    276276}
    277277
    278 int ns_task_retval(ipc_call_t *call)
     278errno_t ns_task_retval(ipc_call_t *call)
    279279{
    280280        task_id_t id = call->in_task_id;
     
    296296}
    297297
    298 int ns_task_disconnect(ipc_call_t *call)
     298errno_t ns_task_disconnect(ipc_call_t *call)
    299299{
    300300        task_id_t id;
    301         int rc = get_id_by_phone(call->in_phone_hash, &id);
     301        errno_t rc = get_id_by_phone(call->in_phone_hash, &id);
    302302        if (rc != EOK)
    303303                return rc;
Note: See TracChangeset for help on using the changeset viewer.