diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-05-04 08:53:14 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-21 10:16:15 +0200 |
commit | 43202800010102a857ffb119429d7dc5b41b7096 (patch) | |
tree | a2acf3883dd7ba4a674c9acacf58bdb8883aa625 /drivers/usb/gadget/config.c | |
parent | dwc3: gadget: Implement the suspend entry event handler (diff) | |
download | linux-43202800010102a857ffb119429d7dc5b41b7096.tar.xz linux-43202800010102a857ffb119429d7dc5b41b7096.zip |
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/gadget/config.c')
-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 e6c0542a063b..17a6077b89a4 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; |