static struct usb_request *gs_alloc_req(struct usb_ep *ep, unsigned int len, int kmalloc_flags)
gs_alloc_req(struct usb_ep *ep, unsigned int len, unsigned kmalloc_flags)
static struct usb_request *gs_alloc_req(struct usb_ep *ep, unsigned int len, int kmalloc_flags){	struct usb_request *req;	if (ep == NULL)		return NULL;	req = usb_ep_alloc_request(ep, kmalloc_flags);	if (req != NULL) {		req->length = len;		req->buf = kmalloc(len, kmalloc_flags);		if (req->buf == NULL) {			usb_ep_free_request(ep, req);			return NULL;		}	}	return req;}