Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/drv_conn.c

    rcde999a rb7fd2a0  
    6161#include "main.h"
    6262
    63 static int init_running_drv(void *drv);
     63static errno_t init_running_drv(void *drv);
    6464
    6565/** Register running driver. */
     
    7272       
    7373        /* Get driver name. */
    74         int rc = async_data_write_accept((void **) &drv_name, true, 0, 0, 0, 0);
     74        errno_t rc = async_data_write_accept((void **) &drv_name, true, 0, 0, 0, 0);
    7575        if (rc != EOK) {
    7676                async_answer_0(callid, rc);
     
    163163 * @return              Zero on success, error code otherwise.
    164164 */
    165 static int devman_receive_match_id(match_id_list_t *match_ids)
     165static errno_t devman_receive_match_id(match_id_list_t *match_ids)
    166166{
    167167        match_id_t *match_id = create_match_id();
    168168        ipc_callid_t callid;
    169169        ipc_call_t call;
    170         int rc = 0;
     170        errno_t rc = 0;
    171171       
    172172        callid = async_get_call(&call);
     
    213213 * @return              Zero on success, error code otherwise.
    214214 */
    215 static int devman_receive_match_ids(sysarg_t match_count,
     215static errno_t devman_receive_match_ids(sysarg_t match_count,
    216216    match_id_list_t *match_ids)
    217217{
    218         int ret = EOK;
     218        errno_t ret = EOK;
    219219        size_t i;
    220220       
     
    255255       
    256256        char *fun_name = NULL;
    257         int rc = async_data_write_accept((void **)&fun_name, true, 0, 0, 0, 0);
     257        errno_t rc = async_data_write_accept((void **)&fun_name, true, 0, 0, 0, 0);
    258258        if (rc != EOK) {
    259259                dev_del_ref(pdev);
     
    332332        devman_handle_t handle = IPC_GET_ARG1(*call);
    333333        category_id_t cat_id;
    334         int rc;
     334        errno_t rc;
    335335       
    336336        /* Get category name. */
     
    381381{
    382382        fun_node_t *fun;
    383         int rc;
     383        errno_t rc;
    384384       
    385385        log_msg(LOG_DEFAULT, LVL_DEBUG, "devman_drv_fun_online()");
     
    425425{
    426426        fun_node_t *fun;
    427         int rc;
     427        errno_t rc;
    428428
    429429        fun = find_fun_node(&device_tree, IPC_GET_ARG1(*icall));
     
    462462        devman_handle_t fun_handle = IPC_GET_ARG1(*call);
    463463        dev_tree_t *tree = &device_tree;
    464         int rc;
     464        errno_t rc;
    465465       
    466466        fun_node_t *fun = find_fun_node(&device_tree, fun_handle);
     
    490490                        dev_node_t *dev = fun->child;
    491491                        device_state_t dev_state;
    492                         int gone_rc;
     492                        errno_t gone_rc;
    493493                       
    494494                        dev_add_ref(dev);
     
    575575 * driver needed to be served by devman during the driver's initialization).
    576576 */
    577 static int init_running_drv(void *drv)
     577static errno_t init_running_drv(void *drv)
    578578{
    579579        driver_t *driver = (driver_t *) drv;
Note: See TracChangeset for help on using the changeset viewer.