Index: uspace/drv/bus/pci/pciintel/pci.c
===================================================================
--- uspace/drv/bus/pci/pciintel/pci.c	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/drv/bus/pci/pciintel/pci.c	(revision 39b54fe7194b1ffcbd629620649e5551d1fef2ea)
@@ -99,5 +99,5 @@
 }
 
-static int pciintel_fun_owns_interrupt(pci_fun_t *fun, int irq)
+static bool pciintel_fun_owns_interrupt(pci_fun_t *fun, int irq)
 {
 	size_t i;
@@ -383,12 +383,12 @@
 {
 	int rc;
+	int ret;
 	char match_id_str[ID_MAX_STR_LEN];
 
 	/* Vendor ID & Device ID, length(incl \0) 22 */
-	rc = snprintf(match_id_str, ID_MAX_STR_LEN, "pci/ven=%04"
+	ret = snprintf(match_id_str, ID_MAX_STR_LEN, "pci/ven=%04"
 	    PRIx16 "&dev=%04" PRIx16, fun->vendor_id, fun->device_id);
-	if (rc < 0) {
-		ddf_msg(LVL_ERROR, "Failed creating match ID str: %s",
-		    str_error(rc));
+	if (ret < 0) {
+		ddf_msg(LVL_ERROR, "Failed creating match ID str");
 	}
 
@@ -399,10 +399,9 @@
 
 	/* Class, subclass, prog IF, revision, length(incl \0) 47 */
-	rc = snprintf(match_id_str, ID_MAX_STR_LEN,
+	ret = snprintf(match_id_str, ID_MAX_STR_LEN,
 	    "pci/class=%02x&subclass=%02x&progif=%02x&revision=%02x",
 	    fun->class_code, fun->subclass_code, fun->prog_if, fun->revision);
-	if (rc < 0) {
-		ddf_msg(LVL_ERROR, "Failed creating match ID str: %s",
-		    str_error(rc));
+	if (ret < 0) {
+		ddf_msg(LVL_ERROR, "Failed creating match ID str");
 	}
 
@@ -413,10 +412,9 @@
 
 	/* Class, subclass, prog IF, length(incl \0) 35 */
-	rc = snprintf(match_id_str, ID_MAX_STR_LEN,
+	ret = snprintf(match_id_str, ID_MAX_STR_LEN,
 	    "pci/class=%02x&subclass=%02x&progif=%02x",
 	    fun->class_code, fun->subclass_code, fun->prog_if);
-	if (rc < 0) {
-		ddf_msg(LVL_ERROR, "Failed creating match ID str: %s",
-		    str_error(rc));
+	if (ret < 0) {
+		ddf_msg(LVL_ERROR, "Failed creating match ID str");
 	}
 
@@ -427,10 +425,9 @@
 
 	/* Class, subclass, length(incl \0) 25 */
-	rc = snprintf(match_id_str, ID_MAX_STR_LEN,
+	ret = snprintf(match_id_str, ID_MAX_STR_LEN,
 	    "pci/class=%02x&subclass=%02x",
 	    fun->class_code, fun->subclass_code);
-	if (rc < 0) {
-		ddf_msg(LVL_ERROR, "Failed creating match ID str: %s",
-		    str_error(rc));
+	if (ret < 0) {
+		ddf_msg(LVL_ERROR, "Failed creating match ID str");
 	}
 
@@ -441,9 +438,8 @@
 
 	/* Class, length(incl \0) 13 */
-	rc = snprintf(match_id_str, ID_MAX_STR_LEN, "pci/class=%02x",
+	ret = snprintf(match_id_str, ID_MAX_STR_LEN, "pci/class=%02x",
 	    fun->class_code);
-	if (rc < 0) {
-		ddf_msg(LVL_ERROR, "Failed creating match ID str: %s",
-		    str_error(rc));
+	if (ret < 0) {
+		ddf_msg(LVL_ERROR, "Failed creating match ID str");
 	}
 
Index: uspace/drv/bus/usb/ohci/hw_struct/completion_codes.h
===================================================================
--- uspace/drv/bus/usb/ohci/hw_struct/completion_codes.h	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/drv/bus/usb/ohci/hw_struct/completion_codes.h	(revision 39b54fe7194b1ffcbd629620649e5551d1fef2ea)
@@ -54,5 +54,5 @@
 };
 
-inline static unsigned int cc_to_rc(unsigned int cc)
+inline static int cc_to_rc(unsigned int cc)
 {
 	switch (cc) {
Index: uspace/drv/bus/usb/usbmid/usbmid.c
===================================================================
--- uspace/drv/bus/usb/usbmid/usbmid.c	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/drv/bus/usb/usbmid/usbmid.c	(revision 39b54fe7194b1ffcbd629620649e5551d1fef2ea)
@@ -117,8 +117,8 @@
 	 * class name something humanly understandable.
 	 */
-	rc = asprintf(&child_name, "%s%hhu",
+	int ret = asprintf(&child_name, "%s%hhu",
 	    usb_str_class(interface_descriptor->interface_class),
 	    interface_descriptor->interface_number);
-	if (rc < 0) {
+	if (ret < 0) {
 		return ENOMEM;
 	}
