From a1fefaab1bbf9cd409cb11887953567d0a8faeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=BClin=20=C4=B0zer?= Date: Fri, 17 May 2013 10:33:05 +0300 Subject: [PATCH] usb: message: Fixed parenthesis error in sizeof function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes parenthesis error in sizeof function in Usb/message.c Signed-off-by: Tülin İzer Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab