Changes in / [d8987b1:4d946647] in mainline


Ignore:
Location:
uspace
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/hc.c

    rd8987b1 r4d946647  
    241241        ret = bandwidth_init(&instance->bandwidth, BANDWIDTH_AVAILABLE_USB11,
    242242            bandwidth_count_usb11);
    243         assert(ret == true);
     243        assert(ret == EOK);
    244244
    245245        return EOK;
  • uspace/lib/usb/src/host/bandwidth.c

    rd8987b1 r4d946647  
    127127        instance->free = bandwidth;
    128128        instance->usage_fnc = usage_fnc;
    129         return
     129        bool ht =
    130130            hash_table_create(&instance->reserved, BUCKET_COUNT, MAX_KEYS, &op);
     131        return ht ? EOK : ENOMEM;
    131132}
    132133/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.