diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-05-04 12:23:14 +0530 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-21 11:16:15 +0300 |
commit | 43202800010102a857ffb119429d7dc5b41b7096 (patch) | |
tree | a2acf3883dd7ba4a674c9acacf58bdb8883aa625 | |
parent | 72704f876f50b00f08d41d4b13d5a5d11262254f (diff) | |
download | linux-stable-43202800010102a857ffb119429d7dc5b41b7096.tar.gz linux-stable-43202800010102a857ffb119429d7dc5b41b7096.tar.bz2 linux-stable-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>
-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; |