diff options
author | Tülin İzer <tulinizer@gmail.com> | 2013-05-17 10:33:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-17 10:09:26 -0700 |
commit | a1fefaab1bbf9cd409cb11887953567d0a8faeb6 (patch) | |
tree | b883ade8dc22733ba0900ba8e2b95ef8b48c8afe /drivers/usb/core/message.c | |
parent | 085528e5e4e5319f6dc986b0de8c06279d6830c0 (diff) | |
download | linux-stable-a1fefaab1bbf9cd409cb11887953567d0a8faeb6.tar.gz linux-stable-a1fefaab1bbf9cd409cb11887953567d0a8faeb6.tar.bz2 linux-stable-a1fefaab1bbf9cd409cb11887953567d0a8faeb6.zip |
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/core/message.c')
-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, } /* 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; |