]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: gadget: s3c-hsudc: Add missing braces around sizeof
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 3 Sep 2012 10:18:19 +0000 (15:48 +0530)
committerFelipe 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

index fe4a461971818568f79dca159632007d349de553..35cdc6a5a5898dcfdeee8030dbc2f781355f9c5e 100644 (file)
@@ -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;