From: Sandhya Bankar Date: Wed, 4 May 2016 06:53:14 +0000 (+0530) Subject: usb: Use (foo *) instead of (foo*). X-Git-Tag: v4.8-rc1~191^2~23^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43202800010102a857ffb119429d7dc5b41b7096;p=karo-tx-linux.git usb: Use (foo *) instead of (foo*). Use (foo *) instead of (foo*). Signed-off-by: Sandhya Bankar Signed-off-by: Felipe Balbi --- 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;