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>
This commit is contained in:
parent
78f0c53ef8
commit
affaab4c58
|
@ -833,7 +833,7 @@ static struct usb_request *s3c_hsudc_alloc_request(struct usb_ep *_ep,
|
||||||
{
|
{
|
||||||
struct s3c_hsudc_req *hsreq;
|
struct s3c_hsudc_req *hsreq;
|
||||||
|
|
||||||
hsreq = kzalloc(sizeof *hsreq, gfp_flags);
|
hsreq = kzalloc(sizeof(*hsreq), gfp_flags);
|
||||||
if (!hsreq)
|
if (!hsreq)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue