Skip to content

Commit

Permalink
[PATCH] USB EHCI: fix gfp_t sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Feb 1, 2006
1 parent 52ea161 commit bf8b2b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/usb/host/ehci-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1844,8 +1844,7 @@ static int sitd_submit (struct ehci_hcd *ehci, struct urb *urb,
#else

static inline int
sitd_submit (struct ehci_hcd *ehci, struct urb *urb,
unsigned mem_flags)
sitd_submit (struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags)
{
ehci_dbg (ehci, "split iso support is disabled\n");
return -ENOSYS;
Expand Down

0 comments on commit bf8b2b5

Please sign in to comment.