2013-06-01 10:11:23

by Thomas Meyer

[permalink] [raw]
Subject: [PATCH] usb: dwc3: core: Cocci spatch "odd_ptr_err.spatch"


Signed-off-by: Thomas Meyer <[email protected]>
---

diff -u -p a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
--- 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



2013-06-01 17:02:06

by Felipe Balbi

[permalink] [raw]
Subject: Re: [PATCH] usb: dwc3: core: Cocci spatch "odd_ptr_err.spatch"

On Sat, Jun 01, 2013 at 12:10:59PM +0200, Thomas Meyer wrote:
>
> Signed-off-by: Thomas Meyer <[email protected]>

-ENOLOG

--
balbi


Attachments:
(No filename) (133.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments