From: Tülin İzer Date: Fri, 17 May 2013 07:33:05 +0000 (+0300) Subject: usb: message: Fixed parenthesis error in sizeof function. X-Git-Tag: firefly_0821_release~176^2~5847^2~124 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a1fefaab1bbf9cd409cb11887953567d0a8faeb6;p=firefly-linux-kernel-4.4.55.git usb: message: Fixed parenthesis error in sizeof function. This patch fixes parenthesis error in sizeof function in Usb/message.c Signed-off-by: Tülin İzer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index 1f66dd83aa9b..e7ee1e451660 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c @@ -379,7 +379,7 @@ int usb_sg_init(struct usb_sg_request *io, struct usb_device *dev, } /* 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) goto nomem;