Browse Source

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>
Tülin İzer 12 years ago
parent
commit
a1fefaab1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/core/message.c

+ 1 - 1
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;