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

Changeset 28216a0 in mainline


Ignore:
Timestamp:
2011-05-07T10:29:08Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
2c49b81b
Parents:
d38d830
Message:

More strict checking in VHC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/main.c

    rd38d830 r28216a0  
    104104        }
    105105
    106         ddf_fun_add_to_class(hc, "usbhc");
     106        rc = ddf_fun_add_to_class(hc, "usbhc");
     107        if (rc != EOK) {
     108                usb_log_fatal("Failed to add function to HC class: %s.\n",
     109                    str_error(rc));
     110                free(data);
     111                return rc;
     112        }
    107113
    108114        virtual_hub_device_init(hc);
Note: See TracChangeset for help on using the changeset viewer.