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>
This commit is contained in:
parent
085528e5e4
commit
a1fefaab1b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue