Index: uspace/drv/bus/usb/ohci/hc.c
===================================================================
--- uspace/drv/bus/usb/ohci/hc.c	(revision 68e540652e175b4bfb5504f9363d31c97d4c5a17)
+++ uspace/drv/bus/usb/ohci/hc.c	(revision b7fd2a02e4161f4edd38548e7f8456b8021549be)
@@ -91,6 +91,6 @@
 static void hc_gain_control(hc_t *instance);
 static void hc_start(hc_t *instance);
-static int hc_init_transfer_lists(hc_t *instance);
-static int hc_init_memory(hc_t *instance);
+static errno_t hc_init_transfer_lists(hc_t *instance);
+static errno_t hc_init_memory(hc_t *instance);
 
 /** Generate IRQ code.
@@ -103,5 +103,5 @@
  * @return Error code.
  */
-int ohci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res, int *irq)
+errno_t ohci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res, int *irq)
 {
 	assert(code);
@@ -152,5 +152,5 @@
  * @return Error code
  */
-int hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res, bool interrupts)
+errno_t hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res, bool interrupts)
 {
 	assert(instance);
@@ -160,5 +160,5 @@
 	    return EINVAL;
 
-	int ret = pio_enable_range(&hw_res->mem_ranges.ranges[0],
+	errno_t ret = pio_enable_range(&hw_res->mem_ranges.ranges[0],
 	    (void **) &instance->registers);
 	if (ret != EOK) {
@@ -269,5 +269,5 @@
 }
 
-int ohci_hc_status(hcd_t *hcd, uint32_t *status)
+errno_t ohci_hc_status(hcd_t *hcd, uint32_t *status)
 {
 	assert(hcd);
@@ -289,5 +289,5 @@
  * @return Error code.
  */
-int ohci_hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch)
+errno_t ohci_hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch)
 {
 	assert(hcd);
@@ -518,5 +518,5 @@
  * @return Error code
  */
-int hc_init_transfer_lists(hc_t *instance)
+errno_t hc_init_transfer_lists(hc_t *instance)
 {
 	assert(instance);
@@ -524,5 +524,5 @@
 do { \
 	const char *name = usb_str_transfer_type(type); \
-	const int ret = endpoint_list_init(&instance->lists[type], name); \
+	const errno_t ret = endpoint_list_init(&instance->lists[type], name); \
 	if (ret != EOK) { \
 		usb_log_error("Failed to setup %s endpoint list: %s.\n", \
@@ -552,5 +552,5 @@
  * @return Error code.
  */
-int hc_init_memory(hc_t *instance)
+errno_t hc_init_memory(hc_t *instance)
 {
 	assert(instance);
@@ -558,5 +558,5 @@
 	memset(&instance->rh, 0, sizeof(instance->rh));
 	/* Init queues */
-	const int ret = hc_init_transfer_lists(instance);
+	const errno_t ret = hc_init_transfer_lists(instance);
 	if (ret != EOK) {
 		return ret;
