summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorTülin İzer <tulinizer@gmail.com>2013-05-17 07:33:05 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-17 17:09:26 (GMT)
commita1fefaab1bbf9cd409cb11887953567d0a8faeb6 (patch)
treeb883ade8dc22733ba0900ba8e2b95ef8b48c8afe /drivers/usb
parent085528e5e4e5319f6dc986b0de8c06279d6830c0 (diff)
downloadlinux-fsl-qoriq-a1fefaab1bbf9cd409cb11887953567d0a8faeb6.tar.xz
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 <tulinizer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/core/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c
index 1f66dd8..e7ee1e4 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;