summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/s3c-hsudc.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-09-03 15:48:19 +0530
committerFelipe Balbi <balbi@ti.com>2012-09-03 17:09:33 +0300
commitaffaab4c58d8e5f7c30ca2be351277cf72d2336f (patch)
tree64462c1107d7649bf05bf9e4328e3cedee2f7b9f /drivers/usb/gadget/s3c-hsudc.c
parent78f0c53ef8563009bf089ef90c7204f526d4a589 (diff)
downloadblackbird-op-linux-affaab4c58d8e5f7c30ca2be351277cf72d2336f.tar.gz
blackbird-op-linux-affaab4c58d8e5f7c30ca2be351277cf72d2336f.zip
usb: gadget: s3c-hsudc: Add missing braces around sizeof
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>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsudc.c')
-rw-r--r--drivers/usb/gadget/s3c-hsudc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c
index fe4a46197181..35cdc6a5a589 100644
--- 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;
OpenPOWER on IntegriCloud