Changeset 97e87de in mainline for uspace/drv/uhci-rhd/port.c


Ignore:
Timestamp:
2011-02-04T13:30:25Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
881c47b
Parents:
74d6e90
Message:

Add some more error checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/port.c

    r74d6e90 r97e87de  
    215215                port->number, usb_address, port->attached_device);
    216216
    217         /* TODO: bind the address here */
    218         ret = usb_drv_bind_address(port->hc_phone, usb_address, port->attached_device);
     217        ret =
     218          usb_drv_bind_address(port->hc_phone, usb_address, port->attached_device);
     219        // TODO: proper error check here
     220        assert(ret == EOK);
    219221
    220222        return EOK;
Note: See TracChangeset for help on using the changeset viewer.