net2280_alloc_request (struct usb_ep *_ep, int gfp_flags)
net2280_alloc_request (struct usb_ep *_ep, unsigned gfp_flags)
net2280_alloc_request (struct usb_ep *_ep, int gfp_flags){	struct net2280_ep	*ep;	struct net2280_request	*req;	if (!_ep)		return NULL;	ep = container_of (_ep, struct net2280_ep, ep);	req = kmalloc (sizeof *req, gfp_flags);	if (!req)		return NULL;	memset (req, 0, sizeof *req);	req->req.dma = DMA_ADDR_INVALID;	INIT_LIST_HEAD (&req->queue);	/* this dma descriptor may be swapped with the previous dummy */	if (ep->dma) {		struct net2280_dma	*td;		td = pci_pool_alloc (ep->dev->requests, gfp_flags,				&req->td_dma);		if (!td) {			kfree (req);			return NULL;		}		td->dmacount = 0;	/* not VALID */		td->dmaaddr = __constant_cpu_to_le32 (DMA_ADDR_INVALID);		td->dmadesc = td->dmaaddr;		req->td = td;	}	return &req->req;}