diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-03 15:48:19 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-03 17:09:33 +0300 |
commit | affaab4c58d8e5f7c30ca2be351277cf72d2336f (patch) | |
tree | 64462c1107d7649bf05bf9e4328e3cedee2f7b9f /drivers/usb/gadget/s3c-hsudc.c | |
parent | 78f0c53ef8563009bf089ef90c7204f526d4a589 (diff) | |
download | op-kernel-dev-affaab4c58d8e5f7c30ca2be351277cf72d2336f.zip op-kernel-dev-affaab4c58d8e5f7c30ca2be351277cf72d2336f.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c index fe4a461..35cdc6a 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; |