projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d33a9b7
)
carl9170 firmware: fix off-by-one error when CARL9170FW_USB_MODESWITCH is set
author
Christian Lamparter
<chunkeey@googlemail.com>
Mon, 15 Feb 2016 16:32:14 +0000
(17:32 +0100)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Mon, 15 Feb 2016 16:32:14 +0000
(17:32 +0100)
usb/usb.c: In function ‘usb_set_configuration’:
usb/usb.c:544:1: error: control reaches end of non-void function [-Werror=return-type]
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/usb/usb.c
patch
|
blob
|
history
diff --git
a/carlfw/usb/usb.c
b/carlfw/usb/usb.c
index 6142dcde914b0e6732d57a358d3de62c7f1f3112..eb57da14aaad0f00c1648d68d6aa07a0406795ef 100644
(file)
--- a/
carlfw/usb/usb.c
+++ b/
carlfw/usb/usb.c
@@
-527,7
+527,6
@@
static int usb_set_configuration(const struct usb_ctrlrequest *ctrl)
usb_init_fullspeed_fifo_cfg();
}
/* usb_pta_init() ? */
usb_init_fullspeed_fifo_cfg();
}
/* usb_pta_init() ? */
- break;
#endif /* CONFIG_CARL9170FW_USB_MODESWITCH */
usb_reset_eps();
#endif /* CONFIG_CARL9170FW_USB_MODESWITCH */
usb_reset_eps();