Changeset 132ab5d1 in mainline for uspace/lib/c/generic/vol.c


Ignore:
Timestamp:
2018-01-30T03:20:45Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (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.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vol.c

    r8bfb163 r132ab5d1  
    101101 * @param act_size Place to store actual size of complete data.
    102102 *
    103  * @return EOK on success or negative error code.
     103 * @return EOK on success or an error code.
    104104 */
    105105static int vol_get_ids_once(vol_t *vol, sysarg_t method, sysarg_t arg1,
     
    119119        }
    120120
    121         sysarg_t retval;
     121        int retval;
    122122        async_wait_for(req, &retval);
    123123
     
    139139 * @param data   Place to store pointer to array of IDs
    140140 * @param count  Place to store number of IDs
    141  * @return       EOK on success or negative error code
     141 * @return       EOK on success or an error code
    142142 */
    143143static int vol_get_ids_internal(vol_t *vol, sysarg_t method, sysarg_t arg1,
     
    183183 * @param count Place to store length of array (number of entries)
    184184 *
    185  * @return EOK on success or negative error code
     185 * @return EOK on success or an error code
    186186 */
    187187int vol_get_parts(vol_t *vol, service_id_t **data, size_t *count)
     
    215215{
    216216        async_exch_t *exch;
    217         sysarg_t retval;
     217        int retval;
    218218        ipc_call_t answer;
    219219
     
    257257{
    258258        async_exch_t *exch;
    259         sysarg_t retval;
     259        int retval;
    260260        ipc_call_t answer;
    261261
     
    283283        async_exch_t *exch;
    284284        ipc_call_t answer;
    285         sysarg_t retval;
     285        int retval;
    286286
    287287        exch = async_exchange_begin(vol->sess);
Note: See TracChangeset for help on using the changeset viewer.