aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-sched.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-12-25 22:27:18 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-31 20:23:42 -0500
commitbf8b2b5345145d41d39035b80f36c8e17342d833 (patch)
tree169596191c34303b48a993a1a0a46bab006ae7cf /drivers/usb/host/ehci-sched.c
parent52ea1619d5103f80ec0472a3eb653a04c15326f2 (diff)
[PATCH] USB EHCI: fix gfp_t sparse warning
Fix sparse warning: drivers/usb/host/ehci-hcd.c:719:35: warning: incorrect type in argument 3 (different base types) drivers/usb/host/ehci-hcd.c:719:35: expected unsigned int [unsigned] mem_flags drivers/usb/host/ehci-hcd.c:719:35: got restricted unsigned int [usertype] mem_flags Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
-rw-r--r--drivers/usb/host/ehci-sched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
index fe0678624ec0..ebcca9700671 100644
--- a/drivers/usb/host/ehci-sched.c
+++ b/drivers/usb/host/ehci-sched.c
@@ -1844,8 +1844,7 @@ done:
1844#else 1844#else
1845 1845
1846static inline int 1846static inline int
1847sitd_submit (struct ehci_hcd *ehci, struct urb *urb, 1847sitd_submit (struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags)
1848 unsigned mem_flags)
1849{ 1848{
1850 ehci_dbg (ehci, "split iso support is disabled\n"); 1849 ehci_dbg (ehci, "split iso support is disabled\n");
1851 return -ENOSYS; 1850 return -ENOSYS;