projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085528e
)
usb: message: Fixed parenthesis error in sizeof function.
author
Tülin İzer
<tulinizer@gmail.com>
Fri, 17 May 2013 07:33:05 +0000
(10:33 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 17 May 2013 17:09:26 +0000
(10:09 -0700)
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>
drivers/usb/core/message.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/message.c
b/drivers/usb/core/message.c
index 1f66dd83aa9b95695dd35534c776543d75227da4..e7ee1e451660a4c9a29cee88dc9c97f3aec534c0 100644
(file)
--- 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;