projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f9f79
)
usb: dwc3: omap: signedness bug in dwc3_omap_set_utmi_mode()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 31 Jul 2014 15:30:51 +0000
(18:30 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 19 Aug 2014 14:24:48 +0000
(09:24 -0500)
"ret" should be signed. It's only used for zero and negative error
codes.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/dwc3-omap.c
b/drivers/usb/dwc3/dwc3-omap.c
index ef4936ff626c3cdea2bd0bc6e0a7e7328481a3a7..9dcfbe7cd5f5d5cfc58239ee578cd68cae09a63f 100644
(file)
--- a/
drivers/usb/dwc3/dwc3-omap.c
+++ b/
drivers/usb/dwc3/dwc3-omap.c
@@
-425,7
+425,7
@@
static void dwc3_omap_set_utmi_mode(struct dwc3_omap *omap)
static int dwc3_omap_extcon_register(struct dwc3_omap *omap)
{
-
u32
ret;
+
int
ret;
struct device_node *node = omap->dev->of_node;
struct extcon_dev *edev;