diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-03 06:18:19 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-03 10:09:33 -0400 |
commit | affaab4c58d8e5f7c30ca2be351277cf72d2336f (patch) | |
tree | 64462c1107d7649bf05bf9e4328e3cedee2f7b9f /drivers/usb/gadget/s3c-hsudc.c | |
parent | 78f0c53ef8563009bf089ef90c7204f526d4a589 (diff) |
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 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, | |||
833 | { | 833 | { |
834 | struct s3c_hsudc_req *hsreq; | 834 | struct s3c_hsudc_req *hsreq; |
835 | 835 | ||
836 | hsreq = kzalloc(sizeof *hsreq, gfp_flags); | 836 | hsreq = kzalloc(sizeof(*hsreq), gfp_flags); |
837 | if (!hsreq) | 837 | if (!hsreq) |
838 | return 0; | 838 | return 0; |
839 | 839 | ||