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

Commit a1fefaab authored by Tülin İzer's avatar Tülin İzer Committed by Greg Kroah-Hartman
Browse files

usb: message: Fixed parenthesis error in sizeof function.



This patch fixes parenthesis error in sizeof function in Usb/message.c

Signed-off-by: default avatarTülin İzer <tulinizer@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 085528e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -379,7 +379,7 @@ int usb_sg_init(struct usb_sg_request *io, struct usb_device *dev,
	}
	}


	/* initialize all the urbs we'll use */
	/* initialize all the urbs we'll use */
	io->urbs = kmalloc(io->entries * sizeof *io->urbs, mem_flags);
	io->urbs = kmalloc(io->entries * sizeof(*io->urbs), mem_flags);
	if (!io->urbs)
	if (!io->urbs)
		goto nomem;
		goto nomem;