projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f0c53
)
usb: gadget: s3c-hsudc: Add missing braces around sizeof
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 3 Sep 2012 10:18:19 +0000
(15:48 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Sep 2012 14:09:33 +0000
(17:09 +0300)
Silences the following checkpatch warning:
WARNING: sizeof *hsreq should be sizeof(*hsreq)
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsudc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/s3c-hsudc.c
b/drivers/usb/gadget/s3c-hsudc.c
index fe4a461971818568f79dca159632007d349de553..35cdc6a5a5898dcfdeee8030dbc2f781355f9c5e 100644
(file)
--- a/
drivers/usb/gadget/s3c-hsudc.c
+++ b/
drivers/usb/gadget/s3c-hsudc.c
@@
-833,7
+833,7
@@
static struct usb_request *s3c_hsudc_alloc_request(struct usb_ep *_ep,
{
struct s3c_hsudc_req *hsreq;
- hsreq = kzalloc(sizeof
*hsreq
, gfp_flags);
+ hsreq = kzalloc(sizeof
(*hsreq)
, gfp_flags);
if (!hsreq)
return 0;