diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-05-04 06:53:14 (GMT) |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-21 08:16:15 (GMT) |
commit | 43202800010102a857ffb119429d7dc5b41b7096 (patch) | |
tree | a2acf3883dd7ba4a674c9acacf58bdb8883aa625 /drivers/usb | |
parent | 72704f876f50b00f08d41d4b13d5a5d11262254f (diff) | |
download | linux-43202800010102a857ffb119429d7dc5b41b7096.tar.xz |
usb: Use (foo *) instead of (foo*).
Use (foo *) instead of (foo*).
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index e6c0542..17a6077 100644 --- 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; |