projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72704f8
)
usb: Use (foo *) instead of (foo*).
author
Sandhya Bankar
<bankarsandhya512@gmail.com>
Wed, 4 May 2016 06:53:14 +0000
(12:23 +0530)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Tue, 21 Jun 2016 08:16:15 +0000
(11:16 +0300)
Use (foo *) instead of (foo*).
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/config.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/config.c
b/drivers/usb/gadget/config.c
index
e6c0542
..
17a6077
100644
(file)
--- a/
drivers/usb/gadget/config.c
+++ b/
drivers/usb/gadget/config.c
@@
-93,7
+93,7
@@
int usb_gadget_config_buf(
*cp = *config;
/* then interface/endpoint/class/vendor/... */
- len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8*)buf,
+ len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8
*)buf,
length - USB_DT_CONFIG_SIZE, desc);
if (len < 0)
return len;