diff options
author | Tülin İzer <tulinizer@gmail.com> | 2013-05-17 03:33:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-17 13:09:26 -0400 |
commit | a1fefaab1bbf9cd409cb11887953567d0a8faeb6 (patch) | |
tree | b883ade8dc22733ba0900ba8e2b95ef8b48c8afe | |
parent | 085528e5e4e5319f6dc986b0de8c06279d6830c0 (diff) |
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>
-rw-r--r-- | drivers/usb/core/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
379 | } | 379 | } |
380 | 380 | ||
381 | /* initialize all the urbs we'll use */ | 381 | /* initialize all the urbs we'll use */ |
382 | io->urbs = kmalloc(io->entries * sizeof *io->urbs, mem_flags); | 382 | io->urbs = kmalloc(io->entries * sizeof(*io->urbs), mem_flags); |
383 | if (!io->urbs) | 383 | if (!io->urbs) |
384 | goto nomem; | 384 | goto nomem; |
385 | 385 | ||