Skip to content

Commit

Permalink
usb: gadget: s3c-hsudc: Add missing braces around sizeof
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Felipe Balbi committed Sep 3, 2012
1 parent 78f0c53 commit affaab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/s3c-hsudc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit affaab4

Please sign in to comment.