[PATCH] USB: Fix kmalloc's flags type in USB
Greg, This patch fixes the kmalloc() flags argument type in USB subsystem; hopefully all of its occurences. The patch was made against patch-2.6.12-git2 from Jun 20. Cleanup of flags for kmalloc() in USB subsystem. Signed-off-by: Olav Kongas <ok@artecdesign.ee> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
17f8bb7312
commit
5db539e49f
@@ -1112,7 +1112,7 @@ static void urb_unlink (struct urb *urb)
|
||||
* expects usb_submit_urb() to have sanity checked and conditioned all
|
||||
* inputs in the urb
|
||||
*/
|
||||
static int hcd_submit_urb (struct urb *urb, int mem_flags)
|
||||
static int hcd_submit_urb (struct urb *urb, unsigned mem_flags)
|
||||
{
|
||||
int status;
|
||||
struct usb_hcd *hcd = urb->dev->bus->hcpriv;
|
||||
|
Reference in New Issue
Block a user