diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-07-31 18:30:51 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-08-19 09:24:48 -0500 |
commit | 788b0bc46558d06f923afae59f881356ac382381 (patch) | |
tree | 73cdd246d55b658950b9c143cd5bf089bb51350d /drivers | |
parent | 50f9f7983773b92af10d8c4d3175a2692559c493 (diff) | |
download | linux-788b0bc46558d06f923afae59f881356ac382381.tar.gz linux-788b0bc46558d06f923afae59f881356ac382381.tar.bz2 linux-788b0bc46558d06f923afae59f881356ac382381.zip |
usb: dwc3: omap: signedness bug in dwc3_omap_set_utmi_mode()
"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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/dwc3/dwc3-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index ef4936ff626c..9dcfbe7cd5f5 100644 --- 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; |