Changes in / [ac2c3f8f:086290d] in mainline


Ignore:
Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/usbhub.c

    rac2c3f8f r086290d  
    130130
    131131        opResult = ddf_fun_bind(hub_fun);
     132        assert(opResult == EOK);
     133        opResult = ddf_fun_add_to_category(hub_fun, "hub");
    132134        assert(opResult == EOK);
    133135
  • uspace/lib/c/generic/malloc.c

    rac2c3f8f r086290d  
    873873void free(const void *addr)
    874874{
    875         if (addr == NULL)
    876                 return;
    877 
    878875        futex_down(&malloc_futex);
    879876       
  • uspace/srv/devman/main.c

    rac2c3f8f r086290d  
    490490        if (rc == EOK) {
    491491                loc_service_add_to_cat(fun->service_id, cat_id);
    492                 log_msg(LVL_NOTE, "Function `%s' added to category `%s'.",
    493                     fun->pathname, cat_name);
    494492        } else {
    495493                log_msg(LVL_ERROR, "Failed adding function `%s' to category "
     
    497495        }
    498496       
     497        log_msg(LVL_NOTE, "Function `%s' added to category `%s'.",
     498            fun->pathname, cat_name);
     499
    499500        fibril_rwlock_read_unlock(&device_tree.rwlock);
    500501        fun_del_ref(fun);
    501        
    502         async_answer_0(callid, rc);
     502
     503        async_answer_0(callid, EOK);
    503504}
    504505
Note: See TracChangeset for help on using the changeset viewer.