Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1394314
| From | Sandhya Bankar <bankarsandhya512@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] usb: Use (foo *) instead of (foo*). |
| Date | 2016-05-04 16:00 +0200 |
| Message-ID | <rv5vk-4VB-17@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Use (foo *) instead of (foo*). Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> --- drivers/usb/gadget/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] usb: Use (foo *) instead of (foo*). Sandhya Bankar <bankarsandhya512@gmail.com> - 2016-05-04 16:00 +0200
csiph-web