Skip to contentSkip to conversation

usb: dwc3: core: Cocci spatch "odd_ptr_err.spatch"

PATCH In review Thomas Meyer 2 participants 2 messages Jun 1, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: dwc3: core: Cocci spatch "odd_ptr_err.spatch"

---

drivers/usb/dwc3/core.c +1 -1
diff -u -p a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
@@ -450,7 +450,7 @@ static int dwc3_probe(struct platform_de
 	}
 
 	if (IS_ERR(dwc->usb3_phy)) {
-		ret = PTR_ERR(dwc->usb2_phy);
+		ret = PTR_ERR(dwc->usb3_phy);
 
 		/*
 		 * if -ENXIO is returned, it means PHY layer wasn't

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html