[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
@@ -376,7 +376,7 @@ static int net2280_disable (struct usb_ep *_ep)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
static struct usb_request *
|
||||
net2280_alloc_request (struct usb_ep *_ep, int gfp_flags)
|
||||
net2280_alloc_request (struct usb_ep *_ep, unsigned gfp_flags)
|
||||
{
|
||||
struct net2280_ep *ep;
|
||||
struct net2280_request *req;
|
||||
@@ -463,7 +463,7 @@ net2280_alloc_buffer (
|
||||
struct usb_ep *_ep,
|
||||
unsigned bytes,
|
||||
dma_addr_t *dma,
|
||||
int gfp_flags
|
||||
unsigned gfp_flags
|
||||
)
|
||||
{
|
||||
void *retval;
|
||||
@@ -897,7 +897,7 @@ done (struct net2280_ep *ep, struct net2280_request *req, int status)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
static int
|
||||
net2280_queue (struct usb_ep *_ep, struct usb_request *_req, int gfp_flags)
|
||||
net2280_queue (struct usb_ep *_ep, struct usb_request *_req, unsigned gfp_flags)
|
||||
{
|
||||
struct net2280_request *req;
|
||||
struct net2280_ep *ep;
|
||||
|
Reference in New Issue
Block a user