Changeset 132ab5d1 in mainline for uspace/lib/c/generic/vbd.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/vbd.c

    r8bfb163 r132ab5d1  
    9595 * @param count Place to store length of array (number of entries)
    9696 *
    97  * @return EOK on success or negative error code
     97 * @return EOK on success or an error code
    9898 */
    9999int vbd_get_disks(vbd_t *vbd, service_id_t **data, size_t *count)
     
    106106{
    107107        async_exch_t *exch;
    108         sysarg_t retval;
     108        int retval;
    109109        ipc_call_t answer;
    110110
     
    165165 * @param act_size Place to store actual size of complete data.
    166166 *
    167  * @return EOK on success or negative error code.
     167 * @return EOK on success or an error code.
    168168 */
    169169static int vbd_get_ids_once(vbd_t *vbd, sysarg_t method, sysarg_t arg1,
     
    183183        }
    184184
    185         sysarg_t retval;
     185        int retval;
    186186        async_wait_for(req, &retval);
    187187
     
    203203 * @param data   Place to store pointer to array of IDs
    204204 * @param count  Place to store number of IDs
    205  * @return       EOK on success or negative error code
     205 * @return       EOK on success or an error code
    206206 */
    207207static int vbd_get_ids_internal(vbd_t *vbd, sysarg_t method, sysarg_t arg1,
     
    247247 * @param count Place to store length of array (number of entries)
    248248 *
    249  * @return EOK on success or negative error code
     249 * @return EOK on success or an error code
    250250 */
    251251int vbd_label_get_parts(vbd_t *vbd, service_id_t disk,
     
    259259{
    260260        async_exch_t *exch;
    261         sysarg_t retval;
     261        int retval;
    262262        ipc_call_t answer;
    263263
     
    283283{
    284284        async_exch_t *exch;
    285         sysarg_t retval;
     285        int retval;
    286286        ipc_call_t answer;
    287287
     
    332332 * @param ptype Place to store suggested partition type
    333333 *
    334  * @return EOK on success or negative error code
     334 * @return EOK on success or an error code
    335335 */
    336336int vbd_suggest_ptype(vbd_t *vbd, service_id_t disk, label_pcnt_t pcnt,
     
    338338{
    339339        async_exch_t *exch;
    340         sysarg_t retval;
     340        int retval;
    341341        ipc_call_t answer;
    342342
Note: See TracChangeset for help on using the changeset viewer.