Changeset 8565a42 in mainline for uspace/srv/ns/clonable.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

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

    r3061bc1 r8565a42  
    8484                return;
    8585        }
    86        
     86
    8787        cs_req_t *csr = list_get_instance(req_link, cs_req_t, link);
    8888        list_remove(req_link);
    89        
     89
    9090        /* Currently we can only handle a single type of clonable service. */
    9191        assert(csr->service == SERVICE_LOADER);
    92        
     92
    9393        async_answer_0(callid, EOK);
    94        
     94
    9595        async_sess_t *sess = async_callback_receive(EXCHANGE_SERIALIZE);
    9696        if (sess == NULL)
    9797                async_answer_0(callid, EIO);
    98        
     98
    9999        async_exch_t *exch = async_exchange_begin(sess);
    100100        async_forward_fast(csr->callid, exch, csr->iface, csr->arg3, 0,
    101101            IPC_FF_NONE);
    102102        async_exchange_end(exch);
    103        
     103
    104104        free(csr);
    105105        async_hangup(sess);
     
    120120{
    121121        assert(service == SERVICE_LOADER);
    122        
     122
    123123        cs_req_t *csr = malloc(sizeof(cs_req_t));
    124124        if (csr == NULL) {
     
    126126                return;
    127127        }
    128        
     128
    129129        /* Spawn a loader. */
    130130        errno_t rc = loader_spawn("loader");
    131        
     131
    132132        if (rc != EOK) {
    133133                free(csr);
     
    135135                return;
    136136        }
    137        
     137
    138138        link_initialize(&csr->link);
    139139        csr->service = service;
     
    141141        csr->callid = callid;
    142142        csr->arg3 = IPC_GET_ARG3(*call);
    143        
     143
    144144        /*
    145145         * We can forward the call only after the server we spawned connects
Note: See TracChangeset for help on using the changeset viewer.