[PATCH] gfp_t: drivers/usb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -589,7 +589,7 @@ static int intr_submit (
|
||||
struct usb_host_endpoint *ep,
|
||||
struct urb *urb,
|
||||
struct list_head *qtd_list,
|
||||
unsigned mem_flags
|
||||
gfp_t mem_flags
|
||||
) {
|
||||
unsigned epnum;
|
||||
unsigned long flags;
|
||||
@@ -634,7 +634,7 @@ done:
|
||||
/* ehci_iso_stream ops work with both ITD and SITD */
|
||||
|
||||
static struct ehci_iso_stream *
|
||||
iso_stream_alloc (unsigned mem_flags)
|
||||
iso_stream_alloc (gfp_t mem_flags)
|
||||
{
|
||||
struct ehci_iso_stream *stream;
|
||||
|
||||
@@ -851,7 +851,7 @@ iso_stream_find (struct ehci_hcd *ehci, struct urb *urb)
|
||||
/* ehci_iso_sched ops can be ITD-only or SITD-only */
|
||||
|
||||
static struct ehci_iso_sched *
|
||||
iso_sched_alloc (unsigned packets, unsigned mem_flags)
|
||||
iso_sched_alloc (unsigned packets, gfp_t mem_flags)
|
||||
{
|
||||
struct ehci_iso_sched *iso_sched;
|
||||
int size = sizeof *iso_sched;
|
||||
@@ -924,7 +924,7 @@ itd_urb_transaction (
|
||||
struct ehci_iso_stream *stream,
|
||||
struct ehci_hcd *ehci,
|
||||
struct urb *urb,
|
||||
unsigned mem_flags
|
||||
gfp_t mem_flags
|
||||
)
|
||||
{
|
||||
struct ehci_itd *itd;
|
||||
@@ -1418,7 +1418,7 @@ itd_complete (
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
static int itd_submit (struct ehci_hcd *ehci, struct urb *urb,
|
||||
unsigned mem_flags)
|
||||
gfp_t mem_flags)
|
||||
{
|
||||
int status = -EINVAL;
|
||||
unsigned long flags;
|
||||
@@ -1529,7 +1529,7 @@ sitd_urb_transaction (
|
||||
struct ehci_iso_stream *stream,
|
||||
struct ehci_hcd *ehci,
|
||||
struct urb *urb,
|
||||
unsigned mem_flags
|
||||
gfp_t mem_flags
|
||||
)
|
||||
{
|
||||
struct ehci_sitd *sitd;
|
||||
@@ -1779,7 +1779,7 @@ sitd_complete (
|
||||
|
||||
|
||||
static int sitd_submit (struct ehci_hcd *ehci, struct urb *urb,
|
||||
unsigned mem_flags)
|
||||
gfp_t mem_flags)
|
||||
{
|
||||
int status = -EINVAL;
|
||||
unsigned long flags;
|
||||
|
Reference in New Issue
Block a user