Changeset 28216a0 in mainline


Ignore:
Timestamp:
2011-05-07T10:29:08Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.