Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c1693dae in mainline for uspace/drv/usbhub/utils.c


Ignore:
Timestamp:
2011-04-15T12:52:57Z (11 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master
Children:
9063484
Parents:
cd5b878
Message:

minor fixes and enhancements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/utils.c

    rcd5b878 rc1693dae  
    7070        uint8_t * result = malloc(size);
    7171        //size
    72         usb_serialize_hub_descriptor(descriptor,result);
     72        if(result)
     73                usb_serialize_hub_descriptor(descriptor,result);
    7374        return result;
    7475}
Note: See TracChangeset for help on using the changeset viewer.