Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit affaab4c authored by Sachin Kamat's avatar Sachin Kamat Committed by Felipe Balbi
Browse files

usb: gadget: s3c-hsudc: Add missing braces around sizeof



Silences the following checkpatch warning:
WARNING: sizeof *hsreq should be sizeof(*hsreq)

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 78f0c53e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;